Skip to content

Commit

Permalink
Merge branch 'PR/303' into frej/felipec-pr-spree
Browse files Browse the repository at this point in the history
Closes #303
Closes #304
  • Loading branch information
frej committed Mar 27, 2023
2 parents 71834a5 + 90c6ad5 commit 64ee34d
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
submodules: 'recursive'

- name: Run tests
run: ./run-tests
run: make -C t
12 changes: 12 additions & 0 deletions t/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
T = $(wildcard *.t)

test: $(T)
@$(MAKE) --silent clean

$(T): clean
./$@ $(TEST_OPTS)

clean:
@rm -fr test-results

.PHONY: test $(T) clean
2 changes: 1 addition & 1 deletion t/main.t
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

test_description='Main tests'

. "${SHARNESS_TEST_SRCDIR-/usr/share/sharness}"/sharness.sh || exit 1
. "${SHARNESS_TEST_SRCDIR-$(dirname "$0")/sharness}"/sharness.sh || exit 1

check() {
echo "$3" > expected &&
Expand Down
2 changes: 1 addition & 1 deletion t/smoke-test.t
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

test_description='Smoke test'

. "${SHARNESS_TEST_SRCDIR-/usr/share/sharness}"/sharness.sh || exit 1
. "${SHARNESS_TEST_SRCDIR-$(dirname "$0")/sharness}"/sharness.sh || exit 1

check() {
echo "$3" > expected &&
Expand Down

0 comments on commit 64ee34d

Please sign in to comment.