Files
revng-revng/tests/daemon/test.sh
Giacomo Vercesi c32bc92f9c revng.daemon: introduce tests
Add end-to-end tests checking that every GraphQL endpoint is properly
working and returning the expected result
2022-04-26 15:05:30 +02:00

12 lines
251 B
Bash
Executable File

#!/bin/bash
#
# This file is distributed under the MIT License. See LICENSE.md for details.
#
set -euo pipefail
DIR=$(dirname "${BASH_SOURCE[0]}")
cd "$DIR" || exit 1
python3 -m pytest "test.py::${TEST_NAME}" --binary "$BINARY_FILE" --root "$ROOT"