PL0-Language-Tools
PL0-Language-Tools copied to clipboard
Get tests working
It looks like there is some rudimentary testing. It's probably a good idea if we can get it working again? @tangentstorm did you make them?
If we get it working, we can use Travis for CI.
That sounds like me... :)
Do you think you can have a quick hack to get them working? Need a script that can run on travis, exit status 0 if good, 1 if fail, and ideally some information why it failed.
What I run is the test script... It just generates a bunch of output into the expect directory, and then does a git diff on that directory. We just need to make that file return [ $size == 0 ] ...
I don't know how well Travis handles colored output though....?
Yes it handles all TTY output, including colours.
I tried running test script but.. it didn't seem to work..
The test script should be runable now.