From 24b54bf266316ad77215864a3ff09808106b2ee6 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Tue, 26 Oct 2021 12:04:29 +0200 Subject: [PATCH] Only test python examples with their default context factory. --- examples/python/CMakeLists.txt | 2 +- teshsuite/python/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/python/CMakeLists.txt b/examples/python/CMakeLists.txt index 66853f3c84..845874ff7e 100644 --- a/examples/python/CMakeLists.txt +++ b/examples/python/CMakeLists.txt @@ -6,7 +6,7 @@ foreach(example actor-create actor-daemon actor-join actor-kill actor-migrate ac set(examples_src ${examples_src} ${CMAKE_CURRENT_SOURCE_DIR}/${example}/${example}.py) if(enable_python) - ADD_TESH_FACTORIES(python-${example} "*" + ADD_TESH(python-${example} --setenv srcdir=${CMAKE_CURRENT_SOURCE_DIR}/${example} --setenv platfdir=${CMAKE_HOME_DIRECTORY}/examples/platforms --setenv pythoncmd=${PYTHON_EXECUTABLE} diff --git a/teshsuite/python/CMakeLists.txt b/teshsuite/python/CMakeLists.txt index 314d09c86b..6c1dfa118e 100644 --- a/teshsuite/python/CMakeLists.txt +++ b/teshsuite/python/CMakeLists.txt @@ -3,7 +3,7 @@ foreach(example borken-context corrupt-stack platform-mix) set(examples_src ${examples_src} ${CMAKE_CURRENT_SOURCE_DIR}/${example}/${example}.py) if(enable_python) - ADD_TESH_FACTORIES(tesh-python-${example} "*" + ADD_TESH(tesh-python-${example} --setenv srcdir=${CMAKE_CURRENT_SOURCE_DIR}/${example} --setenv platfdir=${CMAKE_HOME_DIRECTORY}/examples/platforms --setenv pythoncmd=${PYTHON_EXECUTABLE} -- 2.20.1