Index: tools/run_tests.sh =================================================================== diff -u -r922df89f8af23f7fbbc9320a7fd9ae45391a4c96 -r316fd2f51b0fa89c0f69949d79ef246e1e4bc4ed --- tools/run_tests.sh (.../run_tests.sh) (revision 922df89f8af23f7fbbc9320a7fd9ae45391a4c96) +++ tools/run_tests.sh (.../run_tests.sh) (revision 316fd2f51b0fa89c0f69949d79ef246e1e4bc4ed) @@ -1,26 +1,30 @@ #!/bin/bash ########################################################################### # -# Copyright (c) 2019-2019 Diality Inc. - All Rights Reserved. +# Copyright (c) 2020-2025 Diality Inc. - All Rights Reserved. # -# THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN -# WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. +# THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN +# WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. # -# @file run_tests.sh +# @file run_tests.sh # -# @date 14-Oct-2020 -# @author Peter Lucia +# @author (last) Peter Lucia +# @date (last) 23-Oct-2020 +# @author (original) Peter Lucia +# @date (original) 28-Sep-2020 # -# @brief This script runs the test suite from the command line -# and can run tests with the specified tags -# ############################################################################ -TAGS=AlarmStatusData,DGOperationMode,DGROPumpData,HDOperationModeData,TreatmentUltrafiltration,TreatmentSalineData +TAGS=TreatmentAdjustmentBloodDialysate,TreatmentAdjustmentDuration,TreatmentStatesData,HDOutletFlowData,AlarmColors,CreateTreatment TIMEOUT=60 rm -rf /tmp/UnitTest cd .. -echo "[i] This script assumes squishserver has already been started with run_server.sh." +read -p "Did you already start run_server.sh? (y/n) " serverStarted +if [ "$serverStarted" != "y" ]; then + echo "Please start run_server.sh prior to running this script." + exit +fi + read -p "Do you want to run all tests? (y/n) " resp /opt/squishqt/bin/squishrunner --config setAUTTimeout $TIMEOUT