uwsampa / accept

an approximate compiler
http://accept.rocks
MIT License
37 stars 14 forks source link

Failure in `make test` #46

Open darnir opened 8 years ago

darnir commented 8 years ago

I am trying to compile and use the ACCEPT compiler on the Linux Subsystem in Windows 10. While, the compilation seemed to complete with no issues, running make test showed one unexpected failure. I've put the error log in this issue. Do let me know if I can provide any more information to debug this.

python2 build/built/bin/llvm-lit -v --filter='test_\w+\.' test
-- Testing: 12 of 15 tests, 4 threads --
FAIL: ACCEPT :: test_cxx.cpp (1 of 12)
******************** TEST 'ACCEPT :: test_cxx.cpp' FAILED ********************
Script:
--
../bin/enerclang++ -fsyntax-only -Xclang -verify /home/darnir/accept/test/test_cxx.cpp
--
Exit Code: 1
Command Output (stderr):
--
consumer finished
error: 'error' diagnostics seen but not expected:
  Line 59: 'bits/c++config.h' file not found
1 error generated.
--

********************
PASS: ACCEPT :: test_codegen.c (2 of 12)
PASS: ACCEPT :: test_codegen_array.c (3 of 12)
PASS: ACCEPT :: test_codegen_retval.c (4 of 12)
PASS: ACCEPT :: test_cxx2.cpp (5 of 12)
PASS: ACCEPT :: test_endorse.c (6 of 12)
PASS: ACCEPT :: test_errors.c (7 of 12)
PASS: ACCEPT :: test_implicit.c (8 of 12)
PASS: ACCEPT :: test_noerrors.c (9 of 12)
PASS: ACCEPT :: test_pointers.c (10 of 12)
PASS: ACCEPT :: test_proto.c (11 of 12)
PASS: ACCEPT :: test_math.c (12 of 12)
Testing Time: 0.67s
********************
Failing Tests (1):
    ACCEPT :: test_cxx.cpp

  Expected Passes    : 11
  Unexpected Failures: 1
make: *** [test] Error 1
sampsyo commented 8 years ago

Wow! I'm surprised it even worked this much! I don't know much about the Linux Subsystem, so I'm not sure where to find that missing file. Please update us if you find anything else interesting!

redhawksanji commented 6 years ago

Hi, I'm also getting the same issue when I'm running on Ubuntu. Did you find any solution to this?

sampsyo commented 6 years ago

Hi, @blacksanji—since this is a testing error, it's possible that the system is working (but the tests themselves are just running into trouble). Have you tried compiling an example program?

redhawksanji commented 6 years ago

Hi, @sampsyo - I tried compiling an example program. It is working perfectly fine. Thanks for the help