llvm-dcpu16 / clang

Clang frontend that supports DCPU16
Other
22 stars 6 forks source link

Tests are broken #5

Closed krasin closed 12 years ago

krasin commented 12 years ago

It appears that Clang tests are broken. The tree is closed.

$ make clang-test -j8

FAIL: Clang :: Driver/dcpu16.cpp (2191 of 4518)
******************** TEST 'Clang :: Driver/dcpu16.cpp' FAILED ********************
Script:
--
/home/ubuntu/llvm-dcpu16/cbuild/bin/./clang  -ccc-host-triple dcpu16 -ccc-echo /home/ubuntu/llvm-dcpu16/tools/clang/test/Driver/dcpu16.cpp -emit-llvm -c -o /tmp/OUTPUTNAME 2> /home/ubuntu/llvm-dcpu16/cbuild/tools/clang/test/Driver/Output/dcpu16.cpp.tmp.log
grep 'clang\(-[0-9.]\+\)\?\(\.[Ee][Xx][Ee]\)\?" -cc1 .*dcpu16.c' /home/ubuntu/llvm-dcpu16/cbuild/tools/clang/test/Driver/Output/dcpu16.cpp.tmp.log
llvm-dis < /tmp/OUTPUTNAME | FileCheck /home/ubuntu/llvm-dcpu16/tools/clang/test/Driver/dcpu16.cpp
--
Exit Code: 1
Command Output (stdout):
--
 "/home/ubuntu/llvm-dcpu16/cbuild/bin/clang-3.1" -cc1 -triple dcpu16 -emit-llvm-bc -disable-free -main-file-name dcpu16.cpp -mrelocation-model static -mdisable-fp-elim -mconstructor-aliases -momit-leaf-frame-pointer -coverage-file /tmp/OUTPUTNAME -resource-dir /home/ubuntu/llvm-dcpu16/cbuild/bin/../lib/clang/3.1 -fmodule-cache-path /var/tmp/clang-module-cache -fdeprecated-macro -fno-dwarf-directory-asm -fdebug-compilation-dir /home/ubuntu/llvm-dcpu16/cbuild/tools/clang/test/Driver -ferror-limit 19 -fmessage-length 0 -mstackrealign -fgnu-runtime -fobjc-runtime-has-arc -fobjc-runtime-has-weak -fobjc-fragile-abi -fcxx-exceptions -fexceptions -fdiagnostics-show-option -o /tmp/OUTPUTNAME -x c++ /home/ubuntu/llvm-dcpu16/tools/clang/test/Driver/dcpu16.cpp
--
Command Output (stderr):
--
/home/ubuntu/llvm-dcpu16/tools/clang/test/Driver/dcpu16.cpp:21:12: error: expected string not found in input
 // CHECK: signext i8 @check_char()
           ^
<stdin>:5:31: note: scanning from here
define void @__DCPU16__defined() nounwind {
                              ^
<stdin>:10:8: note: possible intended match here
define signext i16 @check_char() nounwind {
       ^
--

********************
Testing Time: 45.16s
********************
Failing Tests (1):
    Clang :: Driver/dcpu16.cpp

  Expected Passes    : 4491
  Expected Failures  : 26
  Unexpected Failures: 1
make[3]: *** [tools/clang/test/CMakeFiles/clang-test] Error 1
make[2]: *** [tools/clang/test/CMakeFiles/clang-test.dir/all] Error 2
make[1]: *** [tools/clang/test/CMakeFiles/clang-test.dir/rule] Error 2
make: *** [clang-test] Error 2
ghost commented 12 years ago

I think this was fixed by 0fec81328b0f9788821de56027f0c88b98d4b7b6

krasin commented 12 years ago

True. Thanks for spotting.