Skip to content

Commit ac55501

Browse files
committed
Added driver dir env variable.
1 parent 170e851 commit ac55501

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
@@ -559,11 +559,12 @@ function install_gdl {
559559

560560
function test_gdl {
561561
log "Testing GDL..."
562-
cd ${ROOT_DIR}/build
563-
if [ -f ${GDL_DIR}/CMakeModules/CodeCoverage.cmake ]; then
562+
cd "${ROOT_DIR}/build" || exit 1
563+
if [ -f "${GDL_DIR}/CMakeModules/CodeCoverage.cmake" ]; then
564564
make codecov || exit 1
565565
else
566-
CTEST_OUTPUT_ON_FAILURE=1 make test || exit 1
566+
# since we do not install anything we need to set the driver path to the directory of the compiles drivers
567+
CTEST_OUTPUT_ON_FAILURE=1 GDL_DRV_DIR="${ROOT_DIR}/build/src/plplotdriver" make test || exit 1
567568
fi
568569
}
569570

0 commit comments

Comments
 (0)