This repo is archived. You can view files and clone it, but cannot push or open issues or pull requests.
2016-09-28 00:00:40 +00:00
|
|
|
#!/bin/bash
|
|
|
|
# Basic sanity check for kll compiler
|
|
|
|
# Currently runs both versions of the compiler
|
2016-10-10 03:02:31 +00:00
|
|
|
# Jacob Alexander 2016
|
2016-09-28 00:00:40 +00:00
|
|
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
|
|
|
2016-10-10 03:02:31 +00:00
|
|
|
# Common functions
|
|
|
|
source ${SCRIPT_DIR}/common.bash
|
2016-09-28 00:00:40 +00:00
|
|
|
|
|
|
|
# Start in kll top-level directory
|
|
|
|
cd ${SCRIPT_DIR}/..
|
|
|
|
|
2016-10-10 03:02:31 +00:00
|
|
|
|
|
|
|
## Tests
|
|
|
|
|
2016-09-28 00:00:40 +00:00
|
|
|
cmd ./kll.py --version
|
|
|
|
cmd ./kll --version
|
|
|
|
|
2016-10-10 03:02:31 +00:00
|
|
|
## Tests complete
|
|
|
|
|
|
|
|
|
2016-09-28 00:00:40 +00:00
|
|
|
result
|
|
|
|
exit $?
|
|
|
|
|