From 066ddc23e6eb67eeec824c640af6b18f70c3fab6 Mon Sep 17 00:00:00 2001 From: Charles Papon Date: Tue, 11 Jun 2019 00:22:38 +0200 Subject: [PATCH] Add regression concurrent os executions flag to avoid running debug plugin tests --- src/test/cpp/regression/main.cpp | 2 ++ src/test/cpp/regression/makefile | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/test/cpp/regression/main.cpp b/src/test/cpp/regression/main.cpp index 2730c46..1714946 100644 --- a/src/test/cpp/regression/main.cpp +++ b/src/test/cpp/regression/main.cpp @@ -3847,7 +3847,9 @@ int main(int argc, char **argv, char **env) { #endif #ifdef DEBUG_PLUGIN + #ifndef CONCURRENT_OS_EXECUTIONS redo(REDO,DebugPluginTest().run(1e6);); + #endif #endif #endif diff --git a/src/test/cpp/regression/makefile b/src/test/cpp/regression/makefile index a657f1c..76d43dc 100644 --- a/src/test/cpp/regression/makefile +++ b/src/test/cpp/regression/makefile @@ -51,7 +51,9 @@ else ADDCFLAGS += -CFLAGS -O3 -O3 endif - +ifeq ($(CONCURRENT_OS_EXECUTIONS),yes) + ADDCFLAGS += -CCONCURRENT_OS_EXECUTIONS +endif ifeq ($(LITEX),yes) ADDCFLAGS += -CFLAGS -DLITEX