Shellskripte auch angepasst

This commit is contained in:
2026-01-28 21:24:40 +01:00
parent e087b65359
commit ba02f69f0f
9 changed files with 132 additions and 34 deletions
+16 -3
View File
@@ -92,12 +92,25 @@ echo "Test-Parameter: $TEST_PARAMS"
echo "============================================================================"
echo ""
# Wechsle ins Projektverzeichnis und führe run_tests.py aus
cd "$PROJECT"
python "$PROJECT_LIB/run_tests.py" $TEST_PARAMS
# Python-Umgebung aktivieren
source "$SCRIPT_DIR/manage_interpreter.sh" activate
if [ $? -ne 0 ]; then
echo "ERROR: Failed to activate Python environment"
exit 1
fi
# Wechsle ins Projektverzeichnis und führe run_tests.py aus
pushd "$PROJECT" > /dev/null
"$VIRTUAL_ENV/bin/python" -m lib.run_tests $TEST_PARAMS
TEST_RESULT=$?
popd > /dev/null
# Python-Umgebung deaktivieren
source "$SCRIPT_DIR/manage_interpreter.sh" deactivate
echo ""
echo "============================================================================"
if [ $TEST_RESULT -eq 0 ]; then