Archived
1
0
This repo is archived. You can view files and clone it, but cannot push or open issues or pull requests.
kll/tests/sanity.bash
Jacob Alexander d7b7752dc1 Updating Lexer to KLL 0.5c
- Added syntax check unit-test
- Added none emitter (for syntax validation check)
- Added KLL 0.5c example expressions
- Added Travis-CI test for syntax check
- Cleaned up README
2016-10-09 20:02:31 -07:00

25 lines
380 B
Bash
Executable File

#!/bin/bash
# Basic sanity check for kll compiler
# Currently runs both versions of the compiler
# Jacob Alexander 2016
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
# Common functions
source ${SCRIPT_DIR}/common.bash
# Start in kll top-level directory
cd ${SCRIPT_DIR}/..
## Tests
cmd ./kll.py --version
cmd ./kll --version
## Tests complete
result
exit $?