From a0407b765903d77df2ac5ceb242ad97c71ec109b Mon Sep 17 00:00:00 2001 From: Vladis Dronov Date: Thu, 23 Mar 2023 12:22:05 +0100 Subject: [PATCH] Bring tests/ over from Brew dist-git Signed-off-by: Vladis Dronov --- .gitignore | 2 +- tests/nulltest.sh | 6 ++++++ tests/tests.yml | 10 ++++++++++ 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100755 tests/nulltest.sh create mode 100644 tests/tests.yml diff --git a/.gitignore b/.gitignore index 883cbf0..f3c9f28 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/xxhash-0.8.1.tar.gz +/xxhash-*.tar.gz diff --git a/tests/nulltest.sh b/tests/nulltest.sh new file mode 100755 index 0000000..ed360ce --- /dev/null +++ b/tests/nulltest.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +# xxhash runs tests at build stage. if tests fail a build fails. no need to duplicate. + +echo XXHASH nulltest is PASS +exit 0 diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..0e807fa --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,10 @@ +--- +- hosts: localhost + roles: + - role: standard-test-basic + tags: + - classic + tests: + - nulltest: + dir: . + run: nulltest.sh