[llvm-bugs] [Bug 48917] New: tools/llvm-elfabi/preserve-dates-stub.test fails on Windows

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jan 28 02:02:20 PST 2021


https://bugs.llvm.org/show_bug.cgi?id=48917

            Bug ID: 48917
           Summary: tools/llvm-elfabi/preserve-dates-stub.test fails on
                    Windows
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: hans at chromium.org
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org
            Blocks: 48902

See discussion on https://reviews.llvm.org/D92902 which introduced the problem.

On my machine it fails as below. It appears 'touch' does not like the date for
whatever reason. This means I'm not able to build 12.0.0-rc1.



********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90
FAIL: LLVM :: tools/llvm-elfabi/preserve-dates-tbe.test (39967 of 42071)
******************** TEST 'LLVM :: tools/llvm-elfabi/preserve-dates-tbe.test'
FAILED ********************
Script:
--
: 'RUN: at line 3';   llvm-elfabi --elf
c:\src\llvm_package_1200-rc1\llvm-project\llvm\test\tools\llvm-elfabi/Inputs/gnu_hash.so
--emit-tbe=c:\src\llvm_package_1200-rc1\build32_stage0\test\tools\llvm-elfabi\Output\preserve-dates-tbe.test.tmp
: 'RUN: at line 4';   touch -m -t 197001010000
c:\src\llvm_package_1200-rc1\build32_stage0\test\tools\llvm-elfabi\Output\preserve-dates-tbe.test.tmp
: 'RUN: at line 5';   llvm-elfabi --elf
c:\src\llvm_package_1200-rc1\llvm-project\llvm\test\tools\llvm-elfabi/Inputs/gnu_hash.so
--emit-tbe=c:\src\llvm_package_1200-rc1\build32_stage0\test\tools\llvm-elfabi\Output\preserve-dates-tbe.test.tmp
--write-if-changed
: 'RUN: at line 6';   ls -l
c:\src\llvm_package_1200-rc1\build32_stage0\test\tools\llvm-elfabi\Output\preserve-dates-tbe.test.tmp
| c:\src\llvm_package_1200-rc1\build32_stage0\bin\filecheck.exe
--allow-unused-prefixes=false
c:\src\llvm_package_1200-rc1\llvm-project\llvm\test\tools\llvm-elfabi\preserve-dates-tbe.test
--
Exit Code: 1

Command Output (stdout):
--
$ ":" "RUN: at line 3"
$ "llvm-elfabi" "--elf"
"c:\src\llvm_package_1200-rc1\llvm-project\llvm\test\tools\llvm-elfabi/Inputs/gnu_hash.so"
"--emit-tbe=c:\src\llvm_package_1200-rc1\build32_stage0\test\tools\llvm-elfabi\Output\preserve-dates-tbe.test.tmp"
$ ":" "RUN: at line 4"
$ "touch" "-m" "-t" "197001010000"
"c:\src\llvm_package_1200-rc1\build32_stage0\test\tools\llvm-elfabi\Output\preserve-dates-tbe.test.tmp"
# command stderr:
touch: invalid date format `197001010000'

error: command failed with exit status: 1

--

********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
********************
Failed Tests (2):
  LLVM :: tools/llvm-elfabi/preserve-dates-stub.test
  LLVM :: tools/llvm-elfabi/preserve-dates-tbe.test


Referenced Bugs:

https://bugs.llvm.org/show_bug.cgi?id=48902
[Bug 48902] [meta] 12.0.0 Release Blockers
-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210128/36a6a6ef/attachment-0001.html>


More information about the llvm-bugs mailing list