Open jhgorse opened 10 months ago
Impressive. It actually ran a test.
[root:/tmp/myautotest/build] # ninja tests
[0/2] Re-checking globbed directories...
[14/14] Linking CXX executable output/Debug/bin/autocheck.test.check
[root:/tmp/myautotest/build] # ninja test
[0/2] Re-checking globbed directories...
[0/1] Running tests...
Test project /tmp/myautotest/build
Start 2: autocheck.test.arbitrary.build
1/14 Test #2: autocheck.test.arbitrary.build ............... Passed 0.02 sec
Start 1: autocheck.test.arbitrary
2/14 Test #1: autocheck.test.arbitrary ..................... Passed 0.00 sec
Start 4: autocheck.test.check.build
3/14 Test #4: autocheck.test.check.build ................... Passed 0.02 sec
Start 3: autocheck.test.check
4/14 Test #3: autocheck.test.check ......................... Passed 0.00 sec
Start 6: autocheck.test.generator_combinators.build
5/14 Test #6: autocheck.test.generator_combinators.build ... Passed 0.02 sec
Start 5: autocheck.test.generator_combinators
6/14 Test #5: autocheck.test.generator_combinators ......... Passed 0.00 sec
Start 8: autocheck.test.generator.build
7/14 Test #8: autocheck.test.generator.build ............... Passed 0.02 sec
Start 7: autocheck.test.generator
8/14 Test #7: autocheck.test.generator ..................... Passed 0.00 sec
Start 10: autocheck.test.is_one_of.build
9/14 Test #10: autocheck.test.is_one_of.build ............... Passed 0.02 sec
Start 9: autocheck.test.is_one_of
10/14 Test #9: autocheck.test.is_one_of ..................... Passed 0.00 sec
Start 12: autocheck.test.largest.build
11/14 Test #12: autocheck.test.largest.build ................. Passed 0.02 sec
Start 11: autocheck.test.largest
12/14 Test #11: autocheck.test.largest ....................... Passed 0.00 sec
Start 14: autocheck.test.value.build
13/14 Test #14: autocheck.test.value.build ................... Passed 0.02 sec
Start 13: autocheck.test.value
14/14 Test #13: autocheck.test.value ......................... Passed 0.00 sec
100% tests passed, 0 tests failed out of 14
Total Test time (real) = 0.17 sec
[root:/tmp/myautotest/build] #
Which is more than I can say for our friends at rapidcheck
.
For the conan.py
file fix:
https://github.com/thejohnfreeman/autocheck/pull/17
WSL ubuntu on Windows 10.
So git clone manually.
conan install autocheck
Next
test_requires
in the conanfile.py conflicts with new Conantest_requires
so the list needs renamed. Trytest_requires_list
. Here is the error output you would see otherwise:Now we are missing a
cupcake
.Fix with --build missing.
conan install autocheck/ --build missing
Cheers.