launch_tests_debug.sh 569 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. export PYTHONPATH=${PYTHONPATH}:`pwd`
  9. azslc_binary=../bin/darwin/debug/azslc
  10. if [! -f "$azslc_binary"]; then
  11. echo "AZSLc not found under $azslc_binary"
  12. exit 1
  13. fi
  14. if [ -z "$1" ]
  15. then
  16. python testapp.py --silent --compiler "$azslc_binary" --path Syntax Semantic Advanced
  17. else
  18. python testapp.py --compiler "$azslc_binary" --path "$@"
  19. fi