Skip to content

Commit

Permalink
DONT MERGE
Browse files Browse the repository at this point in the history
  • Loading branch information
threeal committed Oct 7, 2024
1 parent dce464a commit 1d0fdd0
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions test/cdeps_install_package.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,12 @@ function(test_build_and_install_external_package)
endsection()

section("it should install the correct targets")
assert(EXISTS ${Sample_INSTALL_DIR}/bin/earth)
assert(EXISTS ${Sample_INSTALL_DIR}/bin/earth.exe)
assert_execute_process(
COMMAND ${Sample_INSTALL_DIR}/bin/earth
COMMAND ${Sample_INSTALL_DIR}/bin/earth.exe
OUTPUT "Hello Earth!")

assert(NOT EXISTS ${Sample_INSTALL_DIR}/bin/mars)
assert(NOT EXISTS ${Sample_INSTALL_DIR}/bin/mars.exe)
endsection()
endsection()
endfunction()
Expand All @@ -96,14 +96,14 @@ section("it should reinstall an external package")
endsection()

section("it should reinstall the correct targets")
assert(EXISTS ${Sample_INSTALL_DIR}/bin/earth)
assert(EXISTS ${Sample_INSTALL_DIR}/bin/earth.exe)
assert_execute_process(
COMMAND ${Sample_INSTALL_DIR}/bin/earth
COMMAND ${Sample_INSTALL_DIR}/bin/earth.exe
OUTPUT "Hello Earth!")

assert(EXISTS ${Sample_INSTALL_DIR}/bin/mars)
assert(EXISTS ${Sample_INSTALL_DIR}/bin/mars.exe)
assert_execute_process(
COMMAND ${Sample_INSTALL_DIR}/bin/mars
COMMAND ${Sample_INSTALL_DIR}/bin/mars.exe
OUTPUT "Hello Mars!")
endsection()
endsection()
Expand Down Expand Up @@ -135,11 +135,11 @@ section("it should not reinstall an external package")
endsection()

section("it should maintain the correct targets")
assert(EXISTS ${Sample_INSTALL_DIR}/bin/earth)
assert(EXISTS ${Sample_INSTALL_DIR}/bin/earth.exe)
assert_execute_process(
COMMAND ${Sample_INSTALL_DIR}/bin/earth
COMMAND ${Sample_INSTALL_DIR}/bin/earth.exe
OUTPUT "Hello Earth!")

assert(NOT EXISTS ${Sample_INSTALL_DIR}/bin/mars)
assert(NOT EXISTS ${Sample_INSTALL_DIR}/bin/mars.exe)
endsection()
endsection()

0 comments on commit 1d0fdd0

Please sign in to comment.