Skip to content

Commit bac76ad

Browse files
committed
Added driver dir env variable.
1 parent 6f9686a commit bac76ad

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ gdlde/
99
gdlde*.zip
1010
.vscode
1111
.idea/
12+
Testing/

scripts/build_gdl.sh

+4-3
Original file line numberDiff line numberDiff line change
@@ -553,11 +553,12 @@ function install_gdl {
553553

554554
function test_gdl {
555555
log "Testing GDL..."
556-
cd ${ROOT_DIR}/build
557-
if [ -f ${GDL_DIR}/CMakeModules/CodeCoverage.cmake ]; then
556+
cd "${ROOT_DIR}/build" || exit 1
557+
if [ -f "${GDL_DIR}/CMakeModules/CodeCoverage.cmake" ]; then
558558
make codecov || exit 1
559559
else
560-
CTEST_OUTPUT_ON_FAILURE=1 make test || exit 1
560+
# since we do not install anything we need to set the driver path to the directory of the compiles drivers
561+
CTEST_OUTPUT_ON_FAILURE=1 GDL_DRV_DIR="${ROOT_DIR}/build/src/plplotdriver" make test || exit 1
561562
fi
562563
}
563564

0 commit comments

Comments
 (0)