launch_tests_linux.sh 533 B

1234567891011121314151617181920212223
  1. #!/bin/bash
  2. #
  3. # Copyright (c) Contributors to the Open 3D Engine Project.
  4. # For complete copyright and license terms please see the LICENSE at the root of this distribution.
  5. #
  6. # SPDX-License-Identifier: Apache-2.0 OR MIT
  7. #
  8. azslc_binary=../bin/linux/release/azslc
  9. if [! -f "$azslc_binary"]; then
  10. echo "AZSLc not found under $azslc_binary"
  11. exit 1
  12. fi
  13. if [$1 -eq ""]
  14. then
  15. python testapp.py --silent --compiler "$azslc_binary" --path Syntax Semantic Advanced
  16. else
  17. python testapp.py --compiler "$azslc_binary" --path "$@"
  18. fi