From ead0b0893761188599121b8914e3e64dc7a1a067 Mon Sep 17 00:00:00 2001 From: Vitaly Gavensky Date: Sun, 19 May 2024 08:36:31 +0300 Subject: [PATCH] Temp: full simulation --- .../pdr_deterministic_plugin/.pytest/run_simulation_pytest.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/pdr_deterministic_plugin/.pytest/run_simulation_pytest.sh b/plugins/pdr_deterministic_plugin/.pytest/run_simulation_pytest.sh index cb1550b15..66a3b6b26 100644 --- a/plugins/pdr_deterministic_plugin/.pytest/run_simulation_pytest.sh +++ b/plugins/pdr_deterministic_plugin/.pytest/run_simulation_pytest.sh @@ -1,7 +1,7 @@ #!/bin/bash -x -sudo mkdir -p /config CONFIG_FILE="/config/pdr_deterministic.conf" -cp -f plugins/pdr_deterministic_plugin/build/config/pdr_deterministic.conf "$CONFIG_FILE" +sudo mkdir -p /config +sudo cp -f plugins/pdr_deterministic_plugin/build/config/pdr_deterministic.conf "$CONFIG_FILE" sed -i -e 's/\nTEST_MODE=True\n//g' "$CONFIG_FILE" echo -e '\n[Common]\nTEST_MODE=True\n' >> "$CONFIG_FILE" sed -i -e 's/DRY_RUN=False/DRY_RUN=True/g' "$CONFIG_FILE"