From 48af0c94ca6d7b05f800f535b3de4cefafcfa655 Mon Sep 17 00:00:00 2001 From: WilliamMTK Date: Wed, 29 Jan 2025 15:40:45 -0500 Subject: Add accelsim test (#82) * add_accelsim_test: add action and test script * add_accelsim_test: add error status to exit command --- short-tests.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'short-tests.sh') diff --git a/short-tests.sh b/short-tests.sh index 44f265a..a1db762 100755 --- a/short-tests.sh +++ b/short-tests.sh @@ -1,16 +1,16 @@ if [ ! -n "$CUDA_INSTALL_PATH" ]; then echo "ERROR ** Install CUDA Toolkit and set CUDA_INSTALL_PATH."; - exit; + exit 1; fi if [ ! -n "$CONFIG" ]; then echo "ERROR ** set the CONFIG env variable to one of those found in ./accel-sim-framework/util/job_launching/configs/define-standard-cfgs.yml"; - exit; + exit 1; fi if [ ! -n "$GPUAPPS_ROOT" ]; then echo "ERROR ** GPUAPPS_ROOT to a location where the apps have been compiled"; - exit; + exit 1; fi git config --system --add safe.directory '*' -- cgit v1.3