run-tests.sh 463 B

12345678910111213141516171819
  1. #!/bin/bash
  2. cd $(dirname $(realpath $0))
  3. # TODO make these not override external settings
  4. export RUST_LOG=trace,sqlx::query=warn,sled=warn,aspect_db=trace,hyper=info,ecksport_core=trace,ecksport_net=trace,soketto=debug
  5. export RUST_BACKTRACE=1
  6. # also figure out the bins path
  7. pushd .. > /dev/null
  8. if [ "$CARGO_DEBUG" = 1 ]; then
  9. export PATH=$(realpath target/debug/):$PATH
  10. else
  11. export PATH=$(realpath target/release/):$PATH
  12. fi
  13. popd > /dev/null
  14. ./entry.py $@