nosuchtim / keykit

KeyKit - an algorithmic MIDI scripting language and GUI system
Other
98 stars 7 forks source link

Fix keytest.sh #3078

Closed pbarada closed 1 year ago

pbarada commented 1 year ago

Haivng key/lowkey call checkkeylib on startup caused keytest.sh to generate different output. Only show "Rebuild lib/keylib.k since xxx" message if -Debugkeylib is specified on command line. Tweak code to strip off directory and separator in mdep_lsdir in both linux and stdio targets. Call freeftime() at end of checkkeylibdir() to free any accumulated filenames so next call to checkkeylibdir starts with same conditions. Set KEYPATH on lowkey invocations in keytest.sh to restrict the search to just ../lib - otherwise it treats all testcase code as part of keylib.