Create a gist now

Instantly share code, notes, and snippets.

@n-west /ctest1.mak
Last active Dec 12, 2015

nathan@ginger:~/gnuradio/gr-howto/build$ ctest -V
UpdateCTestConfiguration from :/home/nathan/gnuradio/gr-howto/build/DartConfiguration.tcl
UpdateCTestConfiguration from :/home/nathan/gnuradio/gr-howto/build/DartConfiguration.tcl
Test project /home/nathan/gnuradio/gr-howto/build
Constructing a list of tests
Done constructing a list of tests
Checking test dependency graph...
Checking test dependency graph end
test 1
Start 1: test_howto
1: Test command: /bin/sh "/home/nathan/gnuradio/gr-howto/build/lib/test_howto_test.sh"
1: Test timeout computed to be: 9.99988e+06
1:
1:
1/2 Test #1: test_howto ....................... Passed 0.00 sec
test 2
Start 2: qa_square_ff
2: Test command: /bin/sh "/home/nathan/gnuradio/gr-howto/build/python/qa_square_ff_test.sh"
2: Test timeout computed to be: 9.99988e+06
2: Traceback (most recent call last):
2: File "/home/nathan/gnuradio/gr-howto/python/qa_square_ff.py", line 22, in <module>
2: import howto_swig as howto
2: File "/home/nathan/gnuradio/gr-howto/build/swig/howto_swig.py", line 352, in <module>
2: square_ff = square_ff.make;
2: NameError: name 'square_ff' is not defined
2/2 Test #2: qa_square_ff .....................***Failed 0.29 sec
50% tests passed, 1 tests failed out of 2
Total Test time (real) = 0.30 sec
The following tests FAILED:
2 - qa_square_ff (Failed)
Errors while running CTest
# Output with line 352 commented out
nathan@ginger:~/gnuradio/gr-howto/build$ ctest -V
UpdateCTestConfiguration from :/home/nathan/gnuradio/gr-howto/build/DartConfiguration.tcl
UpdateCTestConfiguration from :/home/nathan/gnuradio/gr-howto/build/DartConfiguration.tcl
Test project /home/nathan/gnuradio/gr-howto/build
Constructing a list of tests
Done constructing a list of tests
Checking test dependency graph...
Checking test dependency graph end
test 1
Start 1: test_howto
1: Test command: /bin/sh "/home/nathan/gnuradio/gr-howto/build/lib/test_howto_test.sh"
1: Test timeout computed to be: 9.99988e+06
1:
1:
1/2 Test #1: test_howto ....................... Passed 0.01 sec
test 2
Start 2: qa_square_ff
2: Test command: /bin/sh "/home/nathan/gnuradio/gr-howto/build/python/qa_square_ff_test.sh"
2: Test timeout computed to be: 9.99988e+06
2: E
2: ======================================================================
2: ERROR: test_001_t (__main__.qa_square_ff)
2: ----------------------------------------------------------------------
2: Traceback (most recent call last):
2: File "/home/nathan/gnuradio/gr-howto/python/qa_square_ff.py", line 36, in test_001_t
2: sqr = howto.square_ff()
2: File "/home/nathan/gnuradio/gr-howto/build/swig/howto_swig.py", line 357, in __init__
2: def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
2: AttributeError: No constructor defined
2:
2: ----------------------------------------------------------------------
2: Ran 1 test in 0.000s
2:
2: FAILED (errors=1)
2/2 Test #2: qa_square_ff .....................***Failed 0.26 sec
50% tests passed, 1 tests failed out of 2
Total Test time (real) = 0.27 sec
The following tests FAILED:
2 - qa_square_ff (Failed)
Errors while running CTest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment