]> git.corax.cc Git - toolbox/commit
test: Use toolbox in parent directory for tests
authorMatthias Kruk <m@m10k.eu>
Tue, 27 Dec 2022 05:52:20 +0000 (14:52 +0900)
committerMatthias Kruk <m@m10k.eu>
Tue, 27 Dec 2022 05:52:20 +0000 (14:52 +0900)
commit90d10587e46dfbae634edb25dc8d42e6c3823eb8
tree9a7b7ae3a274b22173702962145320beeee5d1cf
parent16243b520842072d06fb5cfb52845ff9dfd8b723
test: Use toolbox in parent directory for tests

Because none of the test specs set PATH, tests use the toolbox version
that is installed in the environment, not the one that is being tested.

This commit modifies the test specs so they prepend the parent directory
to PATH. Further, this adds a symbolic link to the includes in the parent
directory, making sure the correct includes path is searched first.
12 files changed:
test/array_spec.sh
test/include [new symlink]
test/ipc_spec.sh
test/is_spec.sh
test/json_spec.sh
test/log_spec.sh
test/mutex_spec.sh
test/opt_spec.sh
test/queue_spec.sh
test/sem_spec.sh
test/uipc_spec.sh
test/wmutex_spec.sh