Verified Commit 21558ee5 authored by ANA MANZANO RODRIGUEZ's avatar ANA MANZANO RODRIGUEZ Committed by Alberto Miranda
Browse files

Check SCORD_BUILD_TESTS to execute test also adding format

parent 9b0b66f6
Loading
Loading
Loading
Loading
+39 −43
Original line number Diff line number Diff line
@@ -30,7 +30,6 @@ list(APPEND examples_c ADM_register_job ADM_cancel_transfer ADM_connect_data_ope
  ADM_update_adhoc_storage ADM_update_job)

# ADM_in_situ_ops ADM_in_transit_ops not implemented

foreach(example IN LISTS examples_c)
  add_executable(${example}_c)
  target_sources(${example}_c PRIVATE ${example}.c)
@@ -39,7 +38,6 @@ foreach(example IN LISTS examples_c)
endforeach()

if(SCORD_BUILD_TESTS)

  add_test(ADM_register_job_test ADM_register_job ofi+tcp://127.0.0.1:52000)

  add_test(ADM_cancel_transfer_test ADM_cancel_transfer ofi+tcp://127.0.0.1:52000)
@@ -66,14 +64,12 @@ if (SCORD_BUILD_TESTS)

  # TODO: ADM_register_pfs_storage test is missing because is not working in cpp.
  # Will be created when it works in cpp.

  add_test(ADM_remove_adhoc_storage_test ADM_remove_adhoc_storage ofi+tcp://127.0.0.1:52000)

  add_test(ADM_remove_job_test ADM_remove_job ofi+tcp://127.0.0.1:52000)

  # TODO: ADM_remove_pfs_storage test is missing because is not working in cpp.
  # Will be created when it works in cpp.

  add_test(ADM_set_dataset_information_test ADM_set_dataset_information ofi+tcp://127.0.0.1:52000)

  add_test(ADM_set_io_resources_test ADM_set_io_resources ofi+tcp://127.0.0.1:52000)
+54 −57
Original line number Diff line number Diff line
@@ -29,6 +29,7 @@ list(APPEND examples_cxx
  ADM_remove_adhoc_storage ADM_deploy_adhoc_storage
  ADM_register_pfs_storage ADM_update_pfs_storage
  ADM_remove_pfs_storage

  # ADM_in_situ_ops ADM_in_transit_ops
  ADM_transfer_dataset
  ADM_set_dataset_information ADM_set_io_resources ADM_get_transfer_priority
@@ -45,7 +46,6 @@ foreach (example IN LISTS examples_cxx)
endforeach()

if(SCORD_BUILD_TESTS)

  add_test(ADM_ping_test ADM_ping ofi+tcp://127.0.0.1:52000)

  add_test(ADM_cancel_transfer_test ADM_cancel_transfer ofi+tcp://127.0.0.1:52000)
@@ -69,13 +69,11 @@ if (SCORD_BUILD_TESTS)
  add_test(ADM_register_job_test ADM_register_job ofi+tcp://127.0.0.1:52000)

  # TODO: add_test(ADM_register_pfs_storage_test ADM_register_pfs_storage ofi+tcp://127.0.0.1:52000)

  add_test(ADM_remove_adhoc_storage_test ADM_remove_adhoc_storage ofi+tcp://127.0.0.1:52000)

  add_test(ADM_remove_job_test ADM_remove_job ofi+tcp://127.0.0.1:52000)

  # TODO: add_test(ADM_remove_pfs_storage_test ADM_remove_pfs_storage ofi+tcp://127.0.0.1:52000 42)

  add_test(ADM_set_dataset_information_test ADM_set_dataset_information ofi+tcp://127.0.0.1:52000)

  add_test(ADM_set_io_resources_test ADM_set_io_resources ofi+tcp://127.0.0.1:52000)
@@ -92,4 +90,3 @@ if (SCORD_BUILD_TESTS)

  # TODO: add_test(ADM_update_pfs_storage_test ADM_update_pfs_storage ofi+tcp://127.0.0.1:52000 42)
endif()