On 26 Jun 2013, at 9:05 PM, Rafael Espíndola <[email protected]> wrote:
>> cat fails with return code of 1 >> FileCheck then fails, but I expect that is because cat failed. > > I am fairly lost at what is failing. I did a clean build again and got > no errors. Can you please try running just this test with the > attached patch? It should print more information about which command > lit is running and what the result is. > > I have also attached the log I got. Please send me the output you get > or compare the two and see if you find anything odd. Before the patch: FAIL: Clang :: Driver/crash-report.c (2632 of 5506) ******************** TEST 'Clang :: Driver/crash-report.c' FAILED ******************** Script: -- rm -rf C:\public\zorg\buildbot\smooshlab\slave-0.8\build\clang-build\178209\tools\clang\test\Driver\Output\crash-report.c.tmp mkdir C:\public\zorg\buildbot\smooshlab\slave-0.8\build\clang-build\178209\tools\clang\test\Driver\Output\crash-report.c.tmp env TMPDIR=C:\public\zorg\buildbot\smooshlab\slave-0.8\build\clang-build\178209\tools\clang\test\Driver\Output\crash-report.c.tmp TEMP=C:\public\zorg\buildbot\smooshlab\slave-0.8\build\clang-build\178209\tools\clang\test\Driver\Output\crash-report.c.tmp TMP=C:\public\zorg\buildbot\smooshlab\slave-0.8\build\clang-build\178209\tools\clang\test\Driver\Output\crash-report.c.tmp RC_DEBUG_OPTIONS=1 C:/public/zorg/buildbot/smooshlab/slave-0.8/build/clang-build/178209/bin/Release/clang.EXE -fsyntax-only C:\public\zorg\buildbot\smooshlab\slave-0.8\build\src\tools\clang\test\Driver\crash-report.c -F/tmp/ -I /tmp/ -idirafter /tmp/ -iquote /tmp/ -isystem /tmp/ -iprefix /the/prefix -iwithprefix /tmp -iwithprefixbefore /tmp/ -internal-isystem /tmp/ -internal-externc-isystem /tmp/ -DFOO=BAR 2>&1 | FileCheck C:\public\zorg\buildbot\smooshlab\slave-0.8\build\src\tools\clang\test\Driver\crash-report.c cat C:\public\zorg\buildbot\smooshlab\slave-0.8\build\clang-build\178209\tools\clang\test\Driver\Output\crash-report.c.tmp/crash-report-*.c | FileCheck --check-prefix=CHECKSRC C:\public\zorg\buildbot\smooshlab\slave-0.8\build\src\tools\clang\test\Driver\crash-report.c cat C:\public\zorg\buildbot\smooshlab\slave-0.8\build\clang-build\178209\tools\clang\test\Driver\Output\crash-report.c.tmp/crash-report-*.sh | FileCheck --check-prefix=CHECKSH C:\public\zorg\buildbot\smooshlab\slave-0.8\build\src\tools\clang\test\Driver\crash-report.c env FORCE_CLANG_DIAGNOSTICS_CRASH=1 C:/public/zorg/buildbot/smooshlab/slave-0.8/build/clang-build/178209/bin/Release/clang.EXE -fsyntax-only -x c /dev/null 2>&1 | FileCheck C:\public\zorg\buildbot\smooshlab\slave-0.8\build\src\tools\clang\test\Driver\crash-report.c -- Exit Code: 2 Command Output (stdout): -- Command 0: "rm" "-rf" "C:\public\zorg\buildbot\smooshlab\slave-0.8\build\clang-build\178209\tools\clang\test\Driver\Output\crash-report.c.tmp" Command 0 Result: 0 Command 0 Output: Command 0 Stderr: Command 1: "mkdir" "C:\public\zorg\buildbot\smooshlab\slave-0.8\build\clang-build\178209\tools\clang\test\Driver\Output\crash-report.c.tmp" Command 1 Result: 0 Command 1 Output: Command 1 Stderr: Command 2: "env" "TMPDIR=C:\public\zorg\buildbot\smooshlab\slave-0.8\build\clang-build\178209\tools\clang\test\Driver\Output\crash-report.c.tmp" "TEMP=C:\public\zorg\buildbot\smooshlab\slave-0.8\build\clang-build\178209\tools\clang\test\Driver\Output\crash-report.c.tmp" "TMP=C:\public\zorg\buildbot\smooshlab\slave-0.8\build\clang-build\178209\tools\clang\test\Driver\Output\crash-report.c.tmp" "RC_DEBUG_OPTIONS=1" "C:/public/zorg/buildbot/smooshlab/slave-0.8/build/clang-build/178209/bin/Release/clang.EXE" "-fsyntax-only" "C:\public\zorg\buildbot\smooshlab\slave-0.8\build\src\tools\clang\test\Driver\crash-report.c" "-F/tmp/" "-I" "/tmp/" "-idirafter" "/tmp/" "-iquote" "/tmp/" "-isystem" "/tmp/" "-iprefix" "/the/prefix" "-iwithprefix" "/tmp" "-iwithprefixbefore" "/tmp/" "-internal-isystem" "/tmp/" "-internal-externc-isystem" "/tmp/" "-DFOO=BAR" Command 2 Result: 0 Command 2 Output: Command 2 Stderr: Command 3: "FileCheck" "C:\public\zorg\buildbot\smooshlab\slave-0.8\build\src\tools\clang\test\Driver\crash-report.c" Command 3 Result: 0 Command 3 Output: Command 3 Stderr: Command 4: "cat" "C:\public\zorg\buildbot\smooshlab\slave-0.8\build\clang-build\178209\tools\clang\test\Driver\Output\crash-report.c.tmp/crash-report-*.c" Command 4 Result: 1 Command 4 Output: Command 4 Stderr: C:\gnuwin32\bin\cat.EXE: C:\public\zorg\buildbot\smooshlab\slave-0.8\build\clang-build\178209\tools\clang\test\Driver\Output\crash-report.c.tmp/crash-report-*.c: Invalid argument Command 5: "FileCheck" "--check-prefix=CHECKSRC" "C:\public\zorg\buildbot\smooshlab\slave-0.8\build\src\tools\clang\test\Driver\crash-report.c" Command 5 Result: 2 Command 5 Output: Command 5 Stderr: CUSTOMBUILD : FileCheck error : '-' is empty. [C:\public\zorg\buildbot\smooshlab\slave-0.8\build\clang-build\178209\tools\clang\test\check-clang.vcxproj] -- After the patch: FAIL: Clang :: Driver/crash-report.c (2627 of 5506) ******************** TEST 'Clang :: Driver/crash-report.c' FAILED ******************** Script: -- rm -rf C:\public\zorg\buildbot\smooshlab\slave-0.8\build\clang-build\178209\tools\clang\test\Driver\Output\crash-report.c.tmp mkdir C:\public\zorg\buildbot\smooshlab\slave-0.8\build\clang-build\178209\tools\clang\test\Driver\Output\crash-report.c.tmp env TMPDIR=C:\public\zorg\buildbot\smooshlab\slave-0.8\build\clang-build\178209\tools\clang\test\Driver\Output\crash-report.c.tmp TEMP=C:\public\zorg\buildbot\smooshlab\slave-0.8\build\clang-build\178209\tools\clang\test\Driver\Output\crash-report.c.tmp TMP=C:\public\zorg\buildbot\smooshlab\slave-0.8\build\clang-build\178209\tools\clang\test\Driver\Output\crash-report.c.tmp RC_DEBUG_OPTIONS=1 not C:/public/zorg/buildbot/smooshlab/slave-0.8/build/clang-build/178209/bin/Debug/clang.EXE -fsyntax-only C:\public\zorg\buildbot\smooshlab\slave-0.8\build\src\tools\clang\test\Driver\crash-report.c -F/tmp/ -I /tmp/ -idirafter /tmp/ -iquote /tmp/ -isystem /tmp/ -iprefix /the/prefix -iwithprefix /tmp -iwithprefixbefore /tmp/ -internal-isystem /tmp/ -internal-externc-isystem /tmp/ -DFOO=BAR > C:\public\zorg\buildbot\smooshlab\slave-0.8\build\clang-build\178209\tools\clang\test\Driver\Output\crash-report.c.tmp.log 2>&1 cat C:\public\zorg\buildbot\smooshlab\slave-0.8\build\clang-build\178209\tools\clang\test\Driver\Output\crash-report.c.tmp.log cat C:\public\zorg\buildbot\smooshlab\slave-0.8\build\clang-build\178209\tools\clang\test\Driver\Output\crash-report.c.tmp.log | FileCheck C:\public\zorg\buildbot\smooshlab\slave-0.8\build\src\tools\clang\test\Driver\crash-report.c cat C:\public\zorg\buildbot\smooshlab\slave-0.8\build\clang-build\178209\tools\clang\test\Driver\Output\crash-report.c.tmp/crash-report-*.c cat C:\public\zorg\buildbot\smooshlab\slave-0.8\build\clang-build\178209\tools\clang\test\Driver\Output\crash-report.c.tmp/crash-report-*.c | FileCheck --check-prefix=CHECKSRC C:\public\zorg\buildbot\smooshlab\slave-0.8\build\src\tools\clang\test\Driver\crash-report.c cat C:\public\zorg\buildbot\smooshlab\slave-0.8\build\clang-build\178209\tools\clang\test\Driver\Output\crash-report.c.tmp/crash-report-*.sh cat C:\public\zorg\buildbot\smooshlab\slave-0.8\build\clang-build\178209\tools\clang\test\Driver\Output\crash-report.c.tmp/crash-report-*.sh | FileCheck --check-prefix=CHECKSH C:\public\zorg\buildbot\smooshlab\slave-0.8\build\src\tools\clang\test\Driver\crash-report.c env FORCE_CLANG_DIAGNOSTICS_CRASH=1 not C:/public/zorg/buildbot/smooshlab/slave-0.8/build/clang-build/178209/bin/Debug/clang.EXE -fsyntax-only -x c /dev/null > C:\public\zorg\buildbot\smooshlab\slave-0.8\build\clang-build\178209\tools\clang\test\Driver\Output\crash-report.c.tmp.log2 2>&1 cat C:\public\zorg\buildbot\smooshlab\slave-0.8\build\clang-build\178209\tools\clang\test\Driver\Output\crash-report.c.tmp.log2 cat C:\public\zorg\buildbot\smooshlab\slave-0.8\build\clang-build\178209\tools\clang\test\Driver\Output\crash-report.c.tmp.log2 | FileCheck C:\public\zorg\buildbot\smooshlab\slave-0.8\build\src\tools\clang\test\Driver\crash-report.c false -DFOO=BAR > C:\public\zorg\buildbot\smooshlab\slave-0.8\build\clang-build\178209\tools\clang\test\Driver\Output\crash-report.c.tmp.log 2>&1 cat C:\public\zorg\buildbot\smooshlab\slave-0.8\build\clang-build\178209\tools\clang\test\Driver\Output\crash-report.c.tmp.log cat C:\public\zorg\buildbot\smooshlab\slave-0.8\build\clang-build\178209\tools\clang\test\Driver\Output\crash-report.c.tmp.log | FileCheck C:\public\zorg\buildbot\smooshlab\slave-0.8\build\src\tools\clang\test\Driver\crash-report.c cat C:\public\zorg\buildbot\smooshlab\slave-0.8\build\clang-build\178209\tools\clang\test\Driver\Output\crash-report.c.tmp/crash-report-*.c -- Exit Code: 2 Command Output (stdout): -- Command 0: "rm" "-rf" "C:\public\zorg\buildbot\smooshlab\slave-0.8\build\clang-build\178209\tools\clang\test\Driver\Output\crash-report.c.tmp" Command 0 Result: 0 Command 0 Output: Command 0 Stderr: Command 1: "mkdir" "C:\public\zorg\buildbot\smooshlab\slave-0.8\build\clang-build\178209\tools\clang\test\Driver\Output\crash-report.c.tmp" Command 1 Result: 0 Command 1 Output: Command 1 Stderr: Command 2: "env" "TMPDIR=C:\public\zorg\buildbot\smooshlab\slave-0.8\build\clang-build\178209\tools\clang\test\Driver\Output\crash-report.c.tmp" "TEMP=C:\public\zorg\buildbot\smooshlab\slave-0.8\build\clang-build\178209\tools\clang\test\Driver\Output\crash-report.c.tmp" "TMP=C:\public\zorg\buildbot\smooshlab\slave-0.8\build\clang-build\178209\tools\clang\test\Driver\Output\crash-report.c.tmp" "RC_DEBUG_OPTIONS=1" "not" "C:/public/zorg/buildbot/smooshlab/slave-0.8/build/clang-build/178209/bin/Debug/clang.EXE" "-fsyntax-only" "C:\public\zorg\buildbot\smooshlab\slave-0.8\build\src\tools\clang\test\Driver\crash-report.c" "-F/tmp/" "-I" "/tmp/" "-idirafter" "/tmp/" "-iquote" "/tmp/" "-isystem" "/tmp/" "-iprefix" "/the/prefix" "-iwithprefix" "/tmp" "-iwithprefixbefore" "/tmp/" "-internal-isystem" "/tmp/" "-internal-externc-isystem" "/tmp/" "-DFOO=BAR" Command 2 Result: 0 Command 2 Output: None Command 2 Stderr: None Command 3: "cat" "C:\public\zorg\buildbot\smooshlab\slave-0.8\build\clang-build\178209\tools\clang\test\Driver\Output\crash-report.c.tmp.log" Command 3 Result: 0 Command 3 Output: Command 3 Stderr: Command 4: "cat" "C:\public\zorg\buildbot\smooshlab\slave-0.8\build\clang-build\178209\tools\clang\test\Driver\Output\crash-report.c.tmp.log" Command 4 Result: 0 Command 4 Output: Command 4 Stderr: Command 5: "FileCheck" "C:\public\zorg\buildbot\smooshlab\slave-0.8\build\src\tools\clang\test\Driver\crash-report.c" Command 5 Result: 2 Command 5 Output: Command 5 Stderr: CUSTOMBUILD : FileCheck error : '-' is empty. [C:\public\zorg\buildbot\smooshlab\slave-0.8\build\clang-build\178209\tools\clang\test\check-clang.vcxproj] -- -David _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
