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

All unit tests fail? #787

Closed
QuantumDonDoerner opened this issue Oct 16, 2017 · 4 comments
Closed

All unit tests fail? #787

QuantumDonDoerner opened this issue Oct 16, 2017 · 4 comments

Comments

@QuantumDonDoerner
Copy link

Using up-level cmake:
%cmake3 --version
cmake3 version 3.6.3

Using up-level compiler (6.3.0, on the list)
%c++ --version
c++ (GCC) 6.3.0
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Tests built with a couple of innocuous warnings like this:
.../json/test/src/unit-serialization.cpp:71:18: warning: ‘std::ostream& nlohmann::operator>>(const
nlohmann::basic_json<>&, std::ostream&)’ is deprecated [-Wdeprecated-declarations]

But all tests fail: "0% tests passed, 70 tests failed out of 70"

Any idea what may be happening?

@nlohmann
Copy link
Owner

We compile and execute the test suite without problems using GCC 6.3.0 on Ubuntu, see https://travis-ci.org/nlohmann/json/jobs/287422140.

Did you run the tests like this?

$ mkdir build
$ cd build
$ cmake ..
$ cmake --build .
$ ctest

@QuantumDonDoerner
Copy link
Author

QuantumDonDoerner commented Oct 16, 2017 via email

@nlohmann
Copy link
Owner

I am using ctest version 3.9.4. To be sure, can you provide some log files from the failing tests? It's hard to tell right now.

@QuantumDonDoerner
Copy link
Author

QuantumDonDoerner commented Oct 16, 2017 via email

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

2 participants