Skip to content

Commit

Permalink
Add cmake tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rogerfraser committed May 2, 2023
1 parent e6f2202 commit 72bc8fe
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions dynadjust/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,16 @@ if (BUILD_TESTING)
add_test (NAME plot-all-15 COMMAND $<TARGET_FILE:dnaplotwrapper> all --title "A plot generated by cmake testing." --org-unit "Geoscience Australia" --org-subunit "National Geodesy")
add_test (NAME plot-all-16 COMMAND $<TARGET_FILE:dnaplotwrapper> all --export-png --omit-title)
add_test (NAME plot-all-17 COMMAND $<TARGET_FILE:dnaplotwrapper> all --export-png --plate ${CMAKE_SOURCE_DIR}/../sampleData/MORVEL56_plates.dig --map 8)
add_test (NAME import-misc-08 COMMAND $<TARGET_FILE:dnaimportwrapper> -n contig
${CMAKE_SOURCE_DIR}/../sampleData/gnss-network.stn
${CMAKE_SOURCE_DIR}/../sampleData/gnss-network.msr
${CMAKE_SOURCE_DIR}/../sampleData/sa-gnss-stn.xml
${CMAKE_SOURCE_DIR}/../sampleData/sa-gnss-msr.xml
${CMAKE_SOURCE_DIR}/../sampleData/skye-tutorial.stn
${CMAKE_SOURCE_DIR}/../sampleData/skye-tutorial.msr)
add_test (NAME segment-misc-08 COMMAND $<TARGET_FILE:dnasegmentwrapper> contig --contiguous-blocks 0)
add_test (NAME import-misc-08a COMMAND $<TARGET_FILE:dnaimportwrapper> -n contig --import-block-stn-msr 5 --export-dna)
add_test (NAME import-misc-08b COMMAND $<TARGET_FILE:dnaimportwrapper> -n contig --import-contiguous-stn-msr 0 --export-dna)

# 14. Exceptions
### IMPORT ###
Expand Down

0 comments on commit 72bc8fe

Please sign in to comment.