Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add an option to tesh : --cfg
authornavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 6 Jan 2011 12:36:47 +0000 (12:36 +0000)
committernavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 6 Jan 2011 12:36:47 +0000 (12:36 +0000)
commitb412f30fc9762c807c7b93ac9e308d6b8a70d8e5
treeebf16787d03d3af6280885c8300b1b6246ae1a41
parent492a4e892fd1bb63b1c3b5e47ffa3ae5bd512517
Add an option to tesh : --cfg
examples:

ADD_TEST(msg-icomms-raw  tesh  --cfg simix/context:raw
--setenv srcdir=${CMAKE_HOME_DIRECTORY}/examples/msg/icomms
--cd ${CMAKE_BINARY_DIR}/examples/msg/icomms
${CMAKE_HOME_DIRECTORY}/examples/msg/icomms/peer.tesh)
ADD_TEST(msg-icomms-thread  tesh  --cfg simix/context:thread
--setenv srcdir=${CMAKE_HOME_DIRECTORY}/examples/msg/icomms
--cd ${CMAKE_BINARY_DIR}/examples/msg/icomms
${CMAKE_HOME_DIRECTORY}/examples/msg/icomms/peer.tesh)
ADD_TEST(msg-icomms-ucontext tesh  --cfg simix/context:ucontext
--setenv srcdir=${CMAKE_HOME_DIRECTORY}/examples/msg/icomms
--cd ${CMAKE_BINARY_DIR}/examples/msg/icomms
${CMAKE_HOME_DIRECTORY}/examples/msg/icomms/peer.tesh)

We can give many cfg to tesh.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9375 48e7efb5-ca39-0410-a469-dd3cf9ba447f
buildtools/Cmake/AddTests.cmake
tools/tesh/run_context.c
tools/tesh/tesh.c
tools/tesh/tesh.h