#!/bin/bash

# Run tests.

cat <<EOF
# `whoami`@`hostname`:$PWD$ runtests.sh $@
EOF

set -e

export BASE_SETTINGS_MODULE=test
export PGDATABASE=test_icekit
export REUSE_DB=1
export FORCE_SETUP_POSTGRES_DATABASE=1
export SRC_PGDATABASE=test_icekit.sql

exec entrypoint.sh python "$ICEKIT_DIR/bin/manage.py" test --noinput --verbosity=2 "$@"

#!/bin/bash

# Run tests.

cat <<EOF
# `whoami`@`hostname`:$PWD$ runtests.sh $@
EOF

set -e

export BASE_SETTINGS_MODULE=test
export PGDATABASE=test_icekit
export REUSE_DB=1
export FORCE_SETUP_POSTGRES_DATABASE=1
export SRC_PGDATABASE="$ICEKIT_DIR/initial_data.sql"

exec entrypoint.sh python "$ICEKIT_DIR/bin/manage.py" test --noinput --verbosity=2 "$@"

Use absolute path to `initial_data.sql` (previously `test_icekit.sql`).
Use absolute path to `initial_data.sql` (previously `test_icekit.sql`).
