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: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
            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.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to