public
Last active

  • Download Gist
ctest1.mak
Makefile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
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
ctest2.mak
Makefile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
# 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

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.