Skip to content

Commit 7b55a52

Browse files
committed
updated ci
1 parent 3ad8026 commit 7b55a52

File tree

5 files changed

+5
-16
lines changed

5 files changed

+5
-16
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ jobs:
6969
if: matrix.os == 'macos-latest'
7070
run: |
7171
make compile-macos
72-
sqlite3 --init test/inc/load_ext_darwin.sql
7372
chmod +x dist/json_equal.dylib
7473
chmod +x dist/regexp.dylib
7574
chmod +x dist/split_part.dylib

Makefile

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,6 @@ SQLITE_VERSION := 3460000
99
SRC_DIR = src
1010
DIST_DIR = dist
1111

12-
# Determine platform-specific variables
13-
ifeq ($(OS),Windows_NT)
14-
LOAD_SCRIPT = test/inc/load_ext_windows.sql
15-
else
16-
UNAME_S := $(shell uname -s)
17-
ifeq ($(UNAME_S),Darwin)
18-
LOAD_SCRIPT = test/inc/load_ext_darwin.sql
19-
else
20-
LOAD_SCRIPT = test/inc/load_ext_linux.sql
21-
endif
22-
endif
23-
2412
prepare-dist:
2513
mkdir -p $(DIST_DIR)
2614
rm -rf $(DIST_DIR)/*
@@ -56,7 +44,6 @@ test-all:
5644
# fails if grep does find a failed test case
5745
test:
5846
@echo "Testing suite: $(suite)"
59-
# @sqlite3 -init $(LOAD_SCRIPT) < test/$(suite).sql > test.log
6047
@sqlite3 < test/$(suite).sql > test.log
6148
@cat test.log | (! grep -Ex "[0-9_]+.[^1]")
6249

test/json_equal.sql

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
-- Copyright (c) 2024 StackQL Studios, MIT License
2+
-- https://github.com/stackql
3+
14
.load dist/json_equal
25

36
-- Test for identical JSON objects

test/regexp.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
-- Copyright (c) 2024 StackQL Studios, MIT License
22
-- https://github.com/stackql
33

4-
.load ./dist/regexp
4+
.load dist/regexp
55

66
-- Test regexp_like with null inputs
77
select '1_01', regexp_like(null, 'pattern') is null;

test/split_part.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
-- Copyright (c) 2024 StackQL Studios, MIT License
22
-- https://github.com/stackql
33

4-
.load ./dist/split_part
4+
.load dist/split_part
55

66
-- Test for null inputs
77
select '1_01', split_part(null, '/', 1) is null;

0 commit comments

Comments
 (0)