gnuastro-commits
[Top][All Lists]
Advanced

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

[gnuastro-commits] master 4cc319d3 2/3: Library (tiff.h): minor edits in


From: Mohammad Akhlaghi
Subject: [gnuastro-commits] master 4cc319d3 2/3: Library (tiff.h): minor edits in tests
Date: Wed, 12 Jul 2023 13:00:40 -0400 (EDT)

branch: master
commit 4cc319d379365e06eb8911400b1774bebb37026b
Author: Mohammad Akhlaghi <mohammad@akhlaghi.org>
Commit: Mohammad Akhlaghi <mohammad@akhlaghi.org>

    Library (tiff.h): minor edits in tests
    
    In the previous commit, the check was first failing (due to not having an
    executable flag) and then it was being skipped because the presence of the
    TIFF library was not being reported to the test scripts.
    
    With this commit, both issues have been addressed.
---
 tests/Makefile.am            | 6 +++++-
 tests/convertt/fitstotiff.sh | 0
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/tests/Makefile.am b/tests/Makefile.am
index 53dda70e..3390205f 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -51,6 +51,9 @@ endif
 if COND_HASLIBJPEG
   MAYBE_HASLIBJPEG = "yes"
 endif
+if COND_HASLIBTIFF
+  MAYBE_HASLIBTIFF = "yes"
+endif
 if COND_HASCXX
   MAYBE_CXX_PROGS    = versioncxx
   MAYBE_CXX_TESTS    = lib/versioncxx.sh
@@ -74,7 +77,7 @@ endif
 if COND_CONVERTT
   MAYBE_CONVERTT_TESTS = convertt/fitstotxt.sh convertt/fitstojpeg.sh  \
   convertt/blankch.sh convertt/jpegtotxt.sh convertt/fitstojpegcmyk.sh \
-  convertt/jpegtofits.sh convertt/fitstopdf.sh convertt/fitstotiff.sh 
+  convertt/jpegtofits.sh convertt/fitstopdf.sh convertt/fitstotiff.sh
 
   convertt/fitstotxt.sh: mkprof/mosaic1.sh.log
   convertt/fitstojpeg.sh: mkprof/mosaic1.sh.log
@@ -243,6 +246,7 @@ export progbdir=programs-built; \
 export topsrc=$(abs_top_srcdir); \
 export topbuild=$(abs_top_builddir); \
 export haslibjpeg=$(MAYBE_HASLIBJPEG); \
+export haslibtiff=$(MAYBE_HASLIBTIFF); \
 export hasghostscript=$(MAYBE_HASGHOSTSCRIPT); \
 export check_with_program=$(MAYBE_CHECK_WITH_PROGRAM);
 
diff --git a/tests/convertt/fitstotiff.sh b/tests/convertt/fitstotiff.sh
old mode 100644
new mode 100755



reply via email to

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