[Top][All Lists]

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

[gnuastro-commits] master a928324 1/2: tests/ internally ad

From: Mohammad Akhlaghi
Subject: [gnuastro-commits] master a928324 1/2: tests/ 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/ internally adds -I and -L for BuildProgram
    When testing BuildProgram with `tests/', 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/ | 1 +
 1 file changed, 1 insertion(+)

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

reply via email to

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