From 5ba826823f5c9d361201def206491aa777291410 Mon Sep 17 00:00:00 2001 From: Mathieu Benoit Date: Thu, 5 Jan 2023 09:05:51 -0500 Subject: [PATCH] [FIX] makefile test_full_fast: generate a database test - because test is in parallel, cannot have enought time to create _cache_erplibre_base , so create it in serial before --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index adae43b..fe6963d 100644 --- a/Makefile +++ b/Makefile @@ -589,6 +589,8 @@ test_full: .PHONY: test_full_fast test_full_fast: ./script/make.sh clean + # Need to create a BD to create cache _cache_erplibre_base + ./script/database/db_restore.py --database test ./script/test/run_parallel_test.py # TODO This test is broken in parallel ./script/make.sh test_code_generator_hello_world @@ -596,6 +598,8 @@ test_full_fast: .PHONY: test_full_fast_coverage test_full_fast_coverage: ./script/make.sh clean + # Need to create a BD to create cache _cache_erplibre_base + ./script/database/db_restore.py --database test ./.venv/bin/coverage erase ./script/test/run_parallel_test.py --coverage # TODO This test is broken in parallel