gnuastro-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnuastro-commits] master a928324 1/2: tests/during-dev.sh internally ad


From: Mohammad Akhlaghi
Subject: [gnuastro-commits] master a928324 1/2: tests/during-dev.sh internally adds -I and -L for BuildProgram
Date: Tue, 29 May 2018 21:25:06 -0400 (EDT)

branch: master
commit a92832421732a0c6504e932ad5913d440caeb353
Author: Mohammad Akhlaghi <address@hidden>
Commit: Mohammad Akhlaghi <address@hidden>

    tests/during-dev.sh internally adds -I and -L for BuildProgram
    
    When testing BuildProgram with `tests/during-dev.sh', we had to manually
    add the `-I' and `-L' options so it would look into the built Gnuastro, not
    the one on the user's system. Previously we added program-specific options
    to this script, so with this commit, we are using the same variable to add
    `-I$srcdir/lib -L$builddir/lib'.
---
 tests/during-dev.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/during-dev.sh b/tests/during-dev.sh
index 6a43b3b..6421c71 100755
--- a/tests/during-dev.sh
+++ b/tests/during-dev.sh
@@ -142,6 +142,7 @@ if make -j$numjobs -C "$builddir"; then
     # of the last line).
     if [ $utilname = buildprog ]; then
         extraopts="--la=$builddir/lib/libgnuastro.la"
+        extraopts="$extraopts -I$srcdir/lib -L$builddir/lib"
         topconfdir="$builddir"
     else
         topconfdir="$srcdir"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]