gnuastro-commits
[Top][All Lists]
Advanced

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

[gnuastro-commits] master a8d25001 9/9: psf-select-stars: added missing


From: Mohammad Akhlaghi
Subject: [gnuastro-commits] master a8d25001 9/9: psf-select-stars: added missing symbolic link to astmatch in tests/
Date: Wed, 2 Mar 2022 21:40:44 -0500 (EST)

branch: master
commit a8d25001df0ffa112281b0123fbe104f0b00b03f
Author: Sepideh Eskandarlou <sepideh.eskandarlou@gmail.com>
Commit: Mohammad Akhlaghi <mohammad@akhlaghi.org>

    psf-select-stars: added missing symbolic link to astmatch in tests/
    
    Until now, in the test of the 'psf-create-select-stars' we did not create a
    symbolic link to 'astmatch'. Therefore, in the 'make check' step the script
    search for 'astmatch' in the host operating system.
    
    With this commit, a symbolic link to the internaly built 'astmatch' is
    created by the testing script. This fixed this problem.
---
 tests/script/psf-create-select-stars.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/script/psf-create-select-stars.sh 
b/tests/script/psf-create-select-stars.sh
index f362f248..6b8f26f6 100755
--- a/tests/script/psf-create-select-stars.sh
+++ b/tests/script/psf-create-select-stars.sh
@@ -26,7 +26,9 @@
 # file exists (basicchecks.sh is in the source tree).
 prog=psf-create-select-stars
 dep1=mkcatalog
+dep2=match
 dep1name=../bin/$dep1/ast$dep1
+dep2name=../bin/$dep2/ast$dep2
 execname=../bin/script/astscript-$prog
 fits1name=convolve_spatial_noised.fits
 fits2name=convolve_spatial_noised_detected_segmented.fits
@@ -59,6 +61,7 @@ if [ ! -f $fits2name ]; then echo "$fits2name doesn't 
exist."; exit 77; fi
 # Put a link of Gnuastro program(s) used into current directory. Note that
 # other script tests may have already brought it.
 ln -sf $dep1name ast$dep1
+ln -sf $dep2name ast$dep2
 
 
 



reply via email to

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