mirror of
https://github.com/tests-always-included/mo.git
synced 2025-11-19 23:34:32 +01:00
Starting support for skipping/altering tests
Bash doesn't support advanced data structures, like objects. The goal is to switch simple objects to associative arrays automatically, then override other tests so they don't use deeply-created structures.
This commit is contained in:
7
run-spec
7
run-spec
@@ -10,6 +10,13 @@ else
|
||||
)
|
||||
fi
|
||||
|
||||
if [[ "$BASH_VERSION" == 3.* ]]; then
|
||||
echo "WARNING! Specs assume you are using a version of Bash with associative arrays!"
|
||||
fi
|
||||
|
||||
# Actually run the specs
|
||||
node run-spec.js spec/specs/*.json
|
||||
|
||||
if [[ "$BASH_VERSION" == 3.* ]]; then
|
||||
echo "Some tests may have failed because they assume Bash supports associative arays"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user