From 40bf3513c842637016c4da23a4dce6de78582cba Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Fri, 28 Feb 2014 12:03:50 +0100 Subject: [PATCH 1/1] add a test reproducing the issue experienced by Luke Bertot --- buildtools/Cmake/AddTests.cmake | 3 ++- .../platforms/bogus_missing_src_gateway.tesh | 4 ++++ .../platforms/bogus_missing_src_gateway.xml | 18 ++++++++++++++++++ 3 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 teshsuite/simdag/platforms/bogus_missing_src_gateway.tesh create mode 100644 teshsuite/simdag/platforms/bogus_missing_src_gateway.xml diff --git a/buildtools/Cmake/AddTests.cmake b/buildtools/Cmake/AddTests.cmake index 7d7336b00f..1831abca4f 100644 --- a/buildtools/Cmake/AddTests.cmake +++ b/buildtools/Cmake/AddTests.cmake @@ -113,7 +113,8 @@ if(NOT enable_memcheck) # these tests need the assertion mechanism # exclude them from memcheck, as they normally die, leaving lots of unfree'd objects IF(enable_debug AND NOT enable_memcheck) - ADD_TEST(tesh-parser-bogus-symmetric ${TESH_COMMAND} ${TESH_OPTION} --setenv bindir=${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms bogus_two_hosts_asymetric.tesh) + ADD_TEST(tesh-parser-bogus-symmetric ${TESH_COMMAND} ${TESH_OPTION} --setenv bindir=${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms bogus_two_hosts_asymetric.tesh) + ADD_TEST(tesh-parser-bogus-missing-srcgw ${TESH_COMMAND} ${TESH_OPTION} --setenv bindir=${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms bogus_missing_src_gateway.tesh) ENDIF() ADD_TEST(tesh-simdag-bypass ${TESH_COMMAND} ${TESH_OPTION} --setenv bindir=${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms --setenv srcdir=${CMAKE_HOME_DIRECTORY} --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms basic_parsing_test_bypass.tesh) diff --git a/teshsuite/simdag/platforms/bogus_missing_src_gateway.tesh b/teshsuite/simdag/platforms/bogus_missing_src_gateway.tesh new file mode 100644 index 0000000000..b95629c085 --- /dev/null +++ b/teshsuite/simdag/platforms/bogus_missing_src_gateway.tesh @@ -0,0 +1,4 @@ +$ ${bindir:=.}/flatifier bogus_missing_src_gateway.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" +> [ 0.000000] [0:@] surf_workstation_model_init_ptask_L07 +> [ 0.000000] [0:@] Parse error + diff --git a/teshsuite/simdag/platforms/bogus_missing_src_gateway.xml b/teshsuite/simdag/platforms/bogus_missing_src_gateway.xml new file mode 100644 index 0000000000..a97b589b55 --- /dev/null +++ b/teshsuite/simdag/platforms/bogus_missing_src_gateway.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + -- 2.20.1