KLL Compiler
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
此仓库已存档。您可以查看文件和克隆,但不能推送或创建工单/合并请求。

sanity.bash 380B

123456789101112131415161718192021222324
  1. #!/bin/bash
  2. # Basic sanity check for kll compiler
  3. # Currently runs both versions of the compiler
  4. # Jacob Alexander 2016
  5. SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
  6. # Common functions
  7. source ${SCRIPT_DIR}/common.bash
  8. # Start in kll top-level directory
  9. cd ${SCRIPT_DIR}/..
  10. ## Tests
  11. cmd ./kll.py --version
  12. cmd ./kll --version
  13. ## Tests complete
  14. result
  15. exit $?