Skip to content
Snippets Groups Projects
Commit d8e29954 authored by Simon McVittie's avatar Simon McVittie
Browse files

tests: Rename from t

parent 984758ee
No related branches found
No related tags found
No related merge requests found
...@@ -129,7 +129,7 @@ foreach test_name : tests ...@@ -129,7 +129,7 @@ foreach test_name : tests
if prove.found() if prove.found()
test( test(
test_name, prove, test_name, prove,
args : ['-v', files('t/' + test_name)], args : ['-v', files('tests/' + test_name)],
env : test_env, env : test_env,
) )
endif endif
......
...@@ -41,7 +41,7 @@ for script in \ ...@@ -41,7 +41,7 @@ for script in \
"${G_TEST_SRCDIR}"/*.py \ "${G_TEST_SRCDIR}"/*.py \
"${G_TEST_SRCDIR}"/pressure-vessel-test-ui \ "${G_TEST_SRCDIR}"/pressure-vessel-test-ui \
"${G_TEST_SRCDIR}"/sysroot/*.py \ "${G_TEST_SRCDIR}"/sysroot/*.py \
"${G_TEST_SRCDIR}"/t/*.py \ "${G_TEST_SRCDIR}"/tests/*.py \
; do ; do
i=$((i + 1)) i=$((i + 1))
if [ "x${MYPY:="$(command -v mypy || echo false)"}" = xfalse ]; then if [ "x${MYPY:="$(command -v mypy || echo false)"}" = xfalse ]; then
......
...@@ -51,7 +51,7 @@ if "${PYCODESTYLE}" \ ...@@ -51,7 +51,7 @@ if "${PYCODESTYLE}" \
"$G_TEST_SRCDIR"/*.py \ "$G_TEST_SRCDIR"/*.py \
"${G_TEST_SRCDIR}"/pressure-vessel-test-ui \ "${G_TEST_SRCDIR}"/pressure-vessel-test-ui \
"${G_TEST_SRCDIR}"/sysroot/*.py \ "${G_TEST_SRCDIR}"/sysroot/*.py \
"${G_TEST_SRCDIR}"/t/*.py \ "${G_TEST_SRCDIR}"/tests/*.py \
>&2; then >&2; then
echo "ok 1 - $PYCODESTYLE reported no issues" echo "ok 1 - $PYCODESTYLE reported no issues"
else else
......
...@@ -41,7 +41,7 @@ elif "${PYFLAKES}" \ ...@@ -41,7 +41,7 @@ elif "${PYFLAKES}" \
"${G_TEST_SRCDIR}"/*.py \ "${G_TEST_SRCDIR}"/*.py \
"${G_TEST_SRCDIR}"/pressure-vessel-test-ui \ "${G_TEST_SRCDIR}"/pressure-vessel-test-ui \
"${G_TEST_SRCDIR}"/sysroot/*.py \ "${G_TEST_SRCDIR}"/sysroot/*.py \
"${G_TEST_SRCDIR}"/t/*.py \ "${G_TEST_SRCDIR}"/tests/*.py \
>&2; then >&2; then
echo "1..1" echo "1..1"
echo "ok 1 - $PYFLAKES reported no issues" echo "ok 1 - $PYFLAKES reported no issues"
......
File moved
...@@ -40,7 +40,7 @@ for shell_script in \ ...@@ -40,7 +40,7 @@ for shell_script in \
pressure-vessel-unruntime \ pressure-vessel-unruntime \
pressure-vessel-unruntime-test-ui \ pressure-vessel-unruntime-test-ui \
sysroot/*.sh \ sysroot/*.sh \
t/*.sh \ tests/*.sh \
; do ; do
n=$((n + 1)) n=$((n + 1))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment