fix missing toolchain in cargo smoketest run invocation.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2024-05-27 22:40:51 +00:00
parent f32380772f
commit b2e56777af

View file

@ -20,7 +20,7 @@ conduwuit () {
UWU_OPTS=$@ UWU_OPTS=$@
rm -rf /tmp/uwu_smoketest.db rm -rf /tmp/uwu_smoketest.db
echo -e "[global]\nserver_name = \"localhost\"\ndatabase_path = \"/tmp/uwu_smoketest.db\"" > /tmp/uwu_smoketest.toml echo -e "[global]\nserver_name = \"localhost\"\ndatabase_path = \"/tmp/uwu_smoketest.db\"" > /tmp/uwu_smoketest.toml
cargo run $UWU_OPTS -- -c /tmp/uwu_smoketest.toml & cargo $UWU_OPTS -- -c /tmp/uwu_smoketest.toml &
sleep 15s sleep 15s
kill -QUIT %1 kill -QUIT %1
wait %1 wait %1
@ -37,7 +37,7 @@ element () {
run cargo "$TOOLCHAIN" test $ELEMENT_OPTS --all-targets run cargo "$TOOLCHAIN" test $ELEMENT_OPTS --all-targets
run cargo "$TOOLCHAIN" bench $ELEMENT_OPTS --all-targets run cargo "$TOOLCHAIN" bench $ELEMENT_OPTS --all-targets
run cargo "$TOOLCHAIN" run $ELEMENT_OPTS --bin conduit -- -V run cargo "$TOOLCHAIN" run $ELEMENT_OPTS --bin conduit -- -V
run conduwuit $ELEMENT_OPTS --bin conduit run conduwuit "$TOOLCHAIN" run $ELEMENT_OPTS --bin conduit
fi fi
} }