diff --git a/testing/registrar_test.sh b/testing/registrar_test.sh index 3c26bc87dea352ee81cea9b046f0ff2602de11f6..220be72b4218d65193bbc856e02bc60685373d9b 100755 --- a/testing/registrar_test.sh +++ b/testing/registrar_test.sh @@ -13,4 +13,13 @@ while read product; do done < "$product_list_file" -pytest #-s registrar_test.py --name $product_list_file +pytest + +if [ $? -eq 0 ] +then + echo "Pytest succeded" + exit 0 +else + echo "Pytest failed" >&2 + exit 1 +fi \ No newline at end of file