Skip to content

Commit 1d2432f

Browse files
committed
run examples in makefile
1 parent 2c6d631 commit 1d2432f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

turso-test-runner/Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ endif
1616
TURSODB := $(ROOT_DIR)/target/$(TARGET_DIR)/tursodb
1717
TEST_RUNNER := ./target/$(TARGET_DIR)/turso-test-runner
1818

19-
.PHONY: all build build-tursodb build-runner check run test test-sqlite clean
19+
.PHONY: all build build-tursodb build-runner check run test run-examples test-sqlite clean
2020

2121
# Build everything
2222
all: build
@@ -61,6 +61,10 @@ run-tests: build
6161
run-turso-tests: build
6262
$(TEST_RUNNER) run turso-tests --binary $(TURSODB)
6363

64+
# Run example tests
65+
run-examples: build
66+
$(TEST_RUNNER) run examples --binary $(TURSODB)
67+
6468
# Run tests against SQLite
6569
test-sqlite: build-runner
6670
$(TEST_RUNNER) run tests --binary $(SQLITE)

0 commit comments

Comments
 (0)