Skip to content

Commit 118bfa9

Browse files
committed
Revert "comment out the test section for a second, lets see what happens"
This reverts commit 46736fa.
1 parent 1e7d399 commit 118bfa9

File tree

1 file changed

+55
-55
lines changed

1 file changed

+55
-55
lines changed

meta.yaml

Lines changed: 55 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -77,62 +77,62 @@ requirements:
7777
- conda-forge::tcsh
7878
- conda-forge::which
7979

80-
#test:
81-
# source_files:
82-
# - man/**
83-
# - tests/**
84-
# - tools/**
85-
# - lib/**
86-
# - src/**
87-
# - m4/**
88-
# - configure.ac
89-
# - Makefile.am
90-
## # if using build-dir option? needed?
91-
## - build**
92-
# commands:
93-
# - echo 'Testing FRE-NCtools conda package installation...'
94-
# - echo "Installation directory:"
95-
# - pwd
96-
# - echo "Contents of Installation directory:"
97-
# - ls
98-
#
99-
# # Test key installed programs with help flags (allow help commands to exit with any status)
100-
# - echo "Testing timavg script..."
101-
# - which timavg && timavg -h && echo "timavg help command completed"
102-
# - echo "Testing ncexists program..."
103-
# - which ncexists && ncexists --help && echo "ncexists help command completed"
104-
# - echo "Testing combine-ncc program..."
105-
# - which combine-ncc && combine-ncc --help && echo "combine-ncc help command completed"
106-
# - echo "Testing fregrid program..."
107-
# - which fregrid && fregrid --help && echo "fregrid help command completed"
108-
# - echo "Testing make_hgrid program..."
109-
# - which make_hgrid && make_hgrid --help && echo "make_hgrid help command completed"
110-
# - echo "Testing check_mask program..."
111-
# - which check_mask && check_mask 2>&1 | grep -q "check_mask --grid_file" && echo "found check_mask, usage displayed correctly"
112-
#
113-
# # Test some key script utilities exist
114-
# - echo "Testing list_ncvars.sh script..."
115-
# - which list_ncvars.sh && echo "list_ncvars.sh found"
116-
# - echo "Testing split_ncvars.pl script..."
117-
# - which split_ncvars.pl && echo "split_ncvars.pl found"
118-
#
119-
# # Test version reporting for programs that support it (allow version commands to exit with any status)
120-
# - echo "Testing version reporting..."
121-
# - ncexists --version && echo "ncexists version command completed"
122-
# - echo "Testing combine-ncc version..."
123-
# - combine-ncc --version && echo "combine-ncc version command completed"
124-
# - echo "Testing timavg version..."
125-
# - timavg -V && echo "timavg version command completed"
126-
#
127-
# # Run actual tests using the repository's test infrastructure
128-
# # vanilla
80+
test:
81+
source_files:
82+
- man/**
83+
- tests/**
84+
- tools/**
85+
- lib/**
86+
- src/**
87+
- m4/**
88+
- configure.ac
89+
- Makefile.am
90+
# # if using build-dir option? needed?
91+
# - build**
92+
commands:
93+
- echo 'Testing FRE-NCtools conda package installation...'
94+
- echo "Installation directory:"
95+
- pwd
96+
- echo "Contents of Installation directory:"
97+
- ls
98+
99+
# Test key installed programs with help flags (allow help commands to exit with any status)
100+
- echo "Testing timavg script..."
101+
- which timavg && timavg -h && echo "timavg help command completed"
102+
- echo "Testing ncexists program..."
103+
- which ncexists && ncexists --help && echo "ncexists help command completed"
104+
- echo "Testing combine-ncc program..."
105+
- which combine-ncc && combine-ncc --help && echo "combine-ncc help command completed"
106+
- echo "Testing fregrid program..."
107+
- which fregrid && fregrid --help && echo "fregrid help command completed"
108+
- echo "Testing make_hgrid program..."
109+
- which make_hgrid && make_hgrid --help && echo "make_hgrid help command completed"
110+
- echo "Testing check_mask program..."
111+
- which check_mask && check_mask 2>&1 | grep -q "check_mask --grid_file" && echo "found check_mask, usage displayed correctly"
112+
113+
# Test some key script utilities exist
114+
- echo "Testing list_ncvars.sh script..."
115+
- which list_ncvars.sh && echo "list_ncvars.sh found"
116+
- echo "Testing split_ncvars.pl script..."
117+
- which split_ncvars.pl && echo "split_ncvars.pl found"
118+
119+
# Test version reporting for programs that support it (allow version commands to exit with any status)
120+
- echo "Testing version reporting..."
121+
- ncexists --version && echo "ncexists version command completed"
122+
- echo "Testing combine-ncc version..."
123+
- combine-ncc --version && echo "combine-ncc version command completed"
124+
- echo "Testing timavg version..."
125+
- timavg -V && echo "timavg version command completed"
126+
127+
# Run actual tests using the repository's test infrastructure
128+
# vanilla
129+
- echo "Setting up test environment..."
130+
- autoreconf -i && ./configure --prefix=$PREFIX && make check RUN_EXPENSIVE_TESTS=no
131+
# # --with-mpi --enable-quad-precision
129132
# - echo "Setting up test environment..."
130-
# - autoreconf -i && ./configure --prefix=$PREFIX && make check RUN_EXPENSIVE_TESTS=no
131-
## # --with-mpi --enable-quad-precision
132-
## - echo "Setting up test environment..."
133-
## - autoreconf -i && ./configure --with-mpi --enable-quad-precision && make check RUN_EXPENSIVE_TESTS=no
134-
#
135-
# - echo 'All tests completed - FRE-NCtools installation verified!'
133+
# - autoreconf -i && ./configure --with-mpi --enable-quad-precision && make check RUN_EXPENSIVE_TESTS=no
134+
135+
- echo 'All tests completed - FRE-NCtools installation verified!'
136136

137137
about:
138138
license: LGPL-3.0

0 commit comments

Comments
 (0)