Skip to content

Commit 1a76a43

Browse files
committed
Restrict tables path to make foolproof across platforms
1 parent 78b7b19 commit 1a76a43

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

pixi.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ configure-tests.cmd = [
5858
"-B build",
5959
]
6060
configure-tests.cwd = "."
61-
configure-tests.env.XSREF_TABLES_PATH = "$PWD/xsref/tables"
6261
# build for tests
6362
build-tests.depends-on = ["configure-tests", "build-only"]
6463
# run tests

tests/CMakeLists.txt

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
1-
if(NOT DEFINED ENV{XSREF_TABLES_PATH})
2-
message(FATAL_ERROR "XSREF_TABLES_PATH environment variable is not set. Specify the path to xsref/tables in your environment.")
3-
endif()
4-
5-
set(XSREF_TABLES_PATH $ENV{XSREF_TABLES_PATH})
6-
1+
set(XSREF_TABLES_PATH "${CMAKE_SOURCE_DIR}/xsref/tables")
72
find_package(Catch2 3 REQUIRED)
83
find_package(Arrow REQUIRED)
94
find_package(Parquet REQUIRED)

0 commit comments

Comments
 (0)