teshsuite/surf/lmm_usage/lmm_usage
teshsuite/surf/maxmin_bench/maxmin_bench
teshsuite/surf/surf_usage/surf_usage
-teshsuite/surf/surf_usage/surf_usage2
+teshsuite/surf/surf_usage2/surf_usage2
teshsuite/surf/trace_usage/trace_usage
teshsuite/xbt/heap_bench/heap_bench
teshsuite/xbt/log_large/log_large
--- /dev/null
+foreach(x lmm_usage surf_usage surf_usage2 trace_usage)
+ add_executable (${x} ${x}/${x}.cpp)
+ target_link_libraries(${x} simgrid)
+ set_target_properties(${x} PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${x})
+
+ set(tesh_files ${tesh_files} ${CMAKE_CURRENT_SOURCE_DIR}/${x}/${x}.tesh)
+ set(teshsuite_src ${teshsuite_src} ${CMAKE_CURRENT_SOURCE_DIR}/${x}/${x}.cpp)
+
+ ADD_TESH(tesh-surf-${x} --setenv bindir=${CMAKE_BINARY_DIR}/teshsuite/surf/${x} --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/surf/${x} ${x}.tesh)
+endforeach()
+
+set(teshsuite_src ${teshsuite_src} PARENT_SCOPE)
+set(tesh_files ${tesh_files} PARENT_SCOPE)
+++ /dev/null
-add_executable (lmm_usage lmm_usage.c)
-target_link_libraries(lmm_usage simgrid)
-
-set(tesh_files ${tesh_files} ${CMAKE_CURRENT_SOURCE_DIR}/lmm_usage.tesh PARENT_SCOPE)
-set(testsuite_src ${testsuite_src} ${CMAKE_CURRENT_SOURCE_DIR}/lmm_usage.c PARENT_SCOPE)
-
-ADD_TESH(tesh-surf-lmm --setenv bindir=${CMAKE_BINARY_DIR}/teshsuite/surf/lmm_usage --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/surf/lmm_usage lmm_usage.tesh)
3 / (2 * (3 * (b_test_1 - a_test_1 + x) * (b_test_1 - a_test_1 + x) / 2 + 1)));
}
-void test1(method_t method);
-void test1(method_t method)
+static void test1(method_t method)
{
lmm_system_t Sys = NULL;
lmm_constraint_t L1 = NULL;
lmm_system_free(Sys);
}
-void test2(method_t method);
-void test2(method_t method)
+static void test2(method_t method)
{
lmm_system_t Sys = NULL;
lmm_constraint_t CPU1 = NULL;
lmm_system_free(Sys);
}
-void test3(method_t method);
-void test3(method_t method)
+static void test3(method_t method)
{
int flows = 11;
int links = 10;
lmm_variable_t *tmp_var = NULL;
char **tmp_name;
-
/*array to add the the constraints of fictitious variables */
double B[15] = { 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 1, 1, 1, 1, 1 };
+++ /dev/null
-foreach(x surf_usage surf_usage2)
- add_executable (${x} ${x}.cpp)
- target_link_libraries(${x} simgrid)
-
- set(tesh_files ${tesh_files} ${CMAKE_CURRENT_SOURCE_DIR}/${x}.tesh)
- set(teshsuite_src ${teshsuite_src} ${CMAKE_CURRENT_SOURCE_DIR}/${x}.cpp)
-
- ADD_TESH(tesh-${x} --setenv bindir=${CMAKE_BINARY_DIR}/teshsuite/surf/surf_usage --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/surf/surf_usage ${x}.tesh)
-endforeach()
-
-set(teshsuite_src ${teshsuite_src} PARENT_SCOPE)
-set(tesh_files ${tesh_files} PARENT_SCOPE)
-
+++ /dev/null
-add_executable(trace_usage trace_usage.cpp)
-target_link_libraries(trace_usage simgrid)
-
-set(tesh_files ${tesh_files} ${CMAKE_CURRENT_SOURCE_DIR}/trace_usage.tesh PARENT_SCOPE)
-set(testsuite_src ${testsuite_src} ${CMAKE_CURRENT_SOURCE_DIR}/trace_usage.cpp PARENT_SCOPE)
-
-ADD_TESH(tesh-surf-trace --setenv bindir=${CMAKE_BINARY_DIR}/teshsuite/surf/trace_usage --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/surf/ trace_usage/trace_usage.tesh)
#! ./tesh
-$ $SG_TEST_EXENV ${bindir:=.}/trace_usage --cfg=path:../../examples/platforms/trace/
+$ $SG_TEST_EXENV ${bindir:=.}/trace_usage --cfg=path:../../../examples/platforms/trace/
> [0.000000] [surf_test/INFO] 0:
> [0.000000] [surf_test/INFO] Host B: 1
> [0.000000] [surf_test/INFO] 1:
foreach(x heap_bench log_large log_usage mallocator parallel_log_crashtest parmap_bench parmap_test)
- add_executable (${x} ${x}/${x}.c)
- target_link_libraries(${x} simgrid)
- set_target_properties(${x} PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${x})
+ add_executable (${x} ${x}/${x}.c)
+ target_link_libraries(${x} simgrid)
+ set_target_properties(${x} PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${x})
- set(tesh_files ${tesh_files} ${CMAKE_CURRENT_SOURCE_DIR}/${x}/${x}.tesh)
- set(teshsuite_src ${teshsuite_src} ${CMAKE_CURRENT_SOURCE_DIR}/${x}/${x}.c)
+ set(tesh_files ${tesh_files} ${CMAKE_CURRENT_SOURCE_DIR}/${x}/${x}.tesh)
+ set(teshsuite_src ${teshsuite_src} ${CMAKE_CURRENT_SOURCE_DIR}/${x}/${x}.c)
endforeach()
foreach(x heap_bench log_large parallel_log_crashtest parmap_test) #mallocator parmap_bench
- ADD_TESH(tesh-xbt-${x} --setenv bindir=${CMAKE_BINARY_DIR}/teshsuite/xbt/${x} --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/xbt/${x} ${x}.tesh)
+ ADD_TESH(tesh-xbt-${x} --setenv bindir=${CMAKE_BINARY_DIR}/teshsuite/xbt/${x} --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/xbt/${x} ${x}.tesh)
endforeach()
if(NOT enable_debug)
teshsuite/smpi/mpich3-test/rma/CMakeLists.txt
teshsuite/smpi/mpich3-test/perf/CMakeLists.txt
- teshsuite/surf/lmm_usage/CMakeLists.txt
+ teshsuite/surf/CMakeLists.txt
teshsuite/surf/maxmin_bench/CMakeLists.txt
- teshsuite/surf/surf_usage/CMakeLists.txt
- teshsuite/surf/trace_usage/CMakeLists.txt
teshsuite/xbt/CMakeLists.txt
teshsuite/xbt/mmalloc/CMakeLists.txt