Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure in make test #46

Open
darnir opened this issue Jul 1, 2016 · 4 comments
Open

Failure in make test #46

darnir opened this issue Jul 1, 2016 · 4 comments

Comments

@darnir
Copy link

darnir commented Jul 1, 2016

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
Copy link
Member

sampsyo commented Jul 1, 2016

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
Copy link

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

@sampsyo
Copy link
Member

sampsyo commented Oct 9, 2017

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants