Skip to content

Commit b53b4a7

Browse files
committed
Added driver dir env variable.
1 parent 5117673 commit b53b4a7

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -558,11 +558,12 @@ function install_gdl {
558558

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

0 commit comments

Comments
 (0)