Skip to content

Commit

Permalink
Remove tests for the C version of JobQueue
Browse files Browse the repository at this point in the history
  • Loading branch information
JHolba committed Nov 24, 2023
1 parent 9013827 commit 23d6a9a
Showing 1 changed file with 2 additions and 23 deletions.
25 changes: 2 additions & 23 deletions src/clib/tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ find_program(SBATCH "sbatch")

set(TEST_DATA_DIR "${CMAKE_CURRENT_SOURCE_DIR}/data")

file(COPY "${TEST_DATA_DIR}/job_queue/qsub_emulators/"
DESTINATION "${CMAKE_CURRENT_BINARY_DIR}")

file(
COPY "${CMAKE_SOURCE_DIR}/../_ert_job_runner/job_dispatch.py"
DESTINATION "${CMAKE_BINARY_DIR}/bin"
Expand All @@ -20,26 +17,8 @@ find_package(Catch2 REQUIRED)
include(Catch)

add_executable(
ert_test_suite
${TESTS_EXCLUDE_FROM_ALL}
job_queue/test_job_list.cpp
job_queue/test_job_lsf.cpp
job_queue/test_job_lsf_parse_bsub_stdout.cpp
job_queue/test_job_mock_slurm.cpp
job_queue/test_job_queue_driver.cpp
job_queue/test_job_slurm_driver.cpp
$<$<BOOL:${SBATCH}>:job_queue/test_job_slurm_submit.cpp> # if found add file
$<$<BOOL:${SBATCH}>:job_queue/test_job_slurm_runtest.cpp> # if found add file
job_queue/test_job_torque.cpp
job_queue/test_job_torque_submit.cpp
job_queue/test_lsf_driver.cpp
enkf/test_row_scaling.cpp
res_util/test_string.cpp
tmpdir.cpp)

set_source_files_properties(
test_job_torque_submit.cpp
PROPERTIES ENVIRONMENT "setenv PATH ${CMAKE_CURRENT_BINARY_DIR}:$ENV{PATH}")
ert_test_suite ${TESTS_EXCLUDE_FROM_ALL} enkf/test_row_scaling.cpp
res_util/test_string.cpp tmpdir.cpp)

target_compile_definitions(
ert_test_suite
Expand Down

0 comments on commit 23d6a9a

Please sign in to comment.