$ cd step-1$ mkdir build$ cd build/$ cmake ..
-- Using the deal.II-8.4.2 installation found at /home/zimmerman/Installed/dealii-8.4.2
-- Include macro /home/zimmerman/Installed/dealii-8.4.2/share/deal.II/macros/macro_deal_ii_add_test.cmake
-- Include macro /home/zimmerman/Installed/dealii-8.4.2/share/deal.II/macros/macro_deal_ii_initialize_cached_variables.cmake
-- Include macro /home/zimmerman/Installed/dealii-8.4.2/share/deal.II/macros/macro_deal_ii_invoke_autopilot.cmake
-- Include macro /home/zimmerman/Installed/dealii-8.4.2/share/deal.II/macros/macro_deal_ii_pickup_tests.cmake
-- Include macro /home/zimmerman/Installed/dealii-8.4.2/share/deal.II/macros/macro_deal_ii_query_git_information.cmake
-- Include macro /home/zimmerman/Installed/dealii-8.4.2/share/deal.II/macros/macro_deal_ii_setup_target.cmake
-- The C compiler identification is GNU 4.8.4
-- The CXX compiler identification is GNU 4.8.4
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Autopilot invoked
###
#
# Project step-1 set up with deal.II-8.4.2 found at
# /home/zimmerman/Installed/dealii-8.4.2
#
# CMAKE_BUILD_TYPE: Debug
#
# You can now run
# $ make - to compile and link the program
# $ make run - to (compile, link and) run the program
#
# $ make debug - to switch the build type to 'Debug'
# $ make release - to switch the build type to 'Release'
#
# $ make edit_cache - to change (cached) configuration variables
# and rerun the configure and generate phases of CMake
#
# $ make strip_comments - to strip the source files in this
# directory off the documentation comments
# $ make clean - to remove the generated executable as well as
# all intermediate compilation files
# $ make runclean - to remove all output generated by the program
# $ make distclean - to clean the directory from _all_ generated
# files (includes clean, runclean and the removal
# of the generated build system)
# $ make info - to view this message again
#
# Have a nice day!
#
###
-- Found Perl: /usr/bin/perl (found version "5.18.2")
-- Configuring done
-- Generating done
-- Build files have been written to: /mnt/c/Users/Alexander/UbuntuShared/help/temp/step-1/build
zimmerman@GRS-LAPTOP:/mnt/c/Users/Alexander/UbuntuShared/help/temp/step-1/build$ make
Scanning dependencies of target step-1
[100%] Building CXX object CMakeFiles/step-1.dir/step-1.cc.o
Linking CXX executable step-1
[100%] Built target step-1
$ ctest
Test project /mnt/c/Users/Alexander/UbuntuShared/help/temp/step-1/build
Start 1: tests/my_test.debug
1/1 Test #1: tests/my_test.debug ..............***Failed 0.59 sec
0% tests passed, 1 tests failed out of 1
Total Test time (real) = 0.60 sec
The following tests FAILED:
1 - tests/my_test.debug (Failed)
Errors while running CTest
zimmerman@GRS-LAPTOP:/mnt/c/Users/Alexander/UbuntuShared/help/temp/step-1/build$ ctest
Test project /mnt/c/Users/Alexander/UbuntuShared/help/temp/step-1/build
Start 1: tests/my_test.debug
1/1 Test #1: tests/my_test.debug ..............***Failed 0.60 sec
0% tests passed, 1 tests failed out of 1
Total Test time (real) = 0.60 sec
The following tests FAILED:
1 - tests/my_test.debug (Failed)
Errors while running CTest
$ less Testing/Temporary/LastTest.log
Start testing: Sep 07 09:50 DST
----------------------------------------------------------
1/1 Testing: tests/my_test.debug
1/1 Test: tests/my_test.debug
Command: "/usr/bin/cmake" "-DTRGT=my_test.debug.diff" "-DTEST=tests/my_test.debug" "-DEXPECT=PASSED" "-DBINARY_DIR=/mnt/c/Users/Alexander/UbuntuShared/help/temp/step-1/build" "-DGUARD_FILE=/mnt/c/Users/Alexander/UbuntuShared/help/temp/step-1/build/tests/my_test.debug/interrupt_guard.cc" "-P" "/home/zimmerman/Installed/dealii-8.4.2/share/deal.II/scripts/run_test.cmake"
Directory: /mnt/c/Users/Alexander/UbuntuShared/help/temp/step-1/build/tests/my_test.debug
"tests/my_test.debug" start time: Sep 07 09:50 DST
Output:
----------------------------------------------------------
Test tests/my_test.debug: DIFF
=============================== OUTPUT BEGIN ===============================
[ 33%] Built target step-1
[ 66%] Generating my_test.debug/output
Can't do inplace edit on /mnt/c/Users/Alexander/UbuntuShared/help/temp/step-1/build/tests/my_test.debug/output: No such file or directory.
[100%] Generating my_test.debug/diff
numdiff: output: No such file or directory
tests/my_test.debug: BUILD successful.
tests/my_test.debug: RUN successful.
tests/my_test.debug: DIFF failed. ------ Source: /mnt/c/Users/Alexander/UbuntuShared/help/temp/step-1/tests/my_test.output
tests/my_test.debug: DIFF failed. ------ Result: /mnt/c/Users/Alexander/UbuntuShared/help/temp/step-1/build/tests/my_test.debug/output
Check /mnt/c/Users/Alexander/UbuntuShared/help/temp/step-1/build/tests/my_test.debug/output /mnt/c/Users/Alexander/UbuntuShared/help/temp/step-1/tests/my_test.output
tests/my_test.debug: DIFF failed. ------ Diff: /mnt/c/Users/Alexander/UbuntuShared/help/temp/step-1/build/tests/my_test.debug/failing_diff
tests/my_test.debug: DIFF failed. ------ First 8 lines of numdiff/diff output:
tests/my_test.debug: DIFF failed. ------ First 50 lines diff output:
/usr/bin/diff: output: No such file or directory
make[3]: *** [tests/my_test.debug/diff] Error 1
make[2]: *** [tests/CMakeFiles/my_test.debug.diff.dir/all] Error 2
make[1]: *** [tests/CMakeFiles/my_test.debug.diff.dir/rule] Error 2
make: *** [my_test.debug.diff] Error 2
tests/my_test.debug: ****** DIFF failed *******
=============================== OUTPUT END ===============================
Expected stage PASSED - aborting
CMake Error at /home/zimmerman/Installed/dealii-8.4.2/share/deal.II/scripts/run_test.cmake:140 (MESSAGE):
*** abort
<end of output>
Test time = 0.60 sec
----------------------------------------------------------
Test Failed.
"tests/my_test.debug" end time: Sep 07 09:50 DST
"tests/my_test.debug" time elapsed: 00:00:00
----------------------------------------------------------
End testing: Sep 07 09:50 DST
numdiff: output: No such file or directory
/usr/bin/diff: output: No such file or directory
$ ctest
Test project /home/zimmerman/temp/step-1/build
Start 1: tests/my_test.debug
1/1 Test #1: tests/my_test.debug .............. Passed 5.51 sec
100% tests passed, 0 tests failed out of 1
Total Test time (real) = 5.52 sec