KLL Compiler
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

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 $?