File tree 2 files changed +11
-4
lines changed
var/spack/repos/builtin/packages
2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -561,8 +561,11 @@ def configure_args(self):
561
561
562
562
# It looks like the issues with running the tests in parallel were fixed around version 4.6.0
563
563
# (see https://github.com/Unidata/netcdf-c/commit/812c2fd4d108cca927582c0d84049c0f271bb9e0):
564
- @when ("@:4.5.0" )
565
564
@run_after ("install" )
566
- def check (self ):
565
+ def run_checks (self ):
567
566
# h5_test fails when run in parallel
568
- make ("check" , parallel = False )
567
+ if self .pkg .run_tests :
568
+ make ("check" , parallel = self .spec .satisfies ("@4.6:" ))
569
+
570
+ def check (self ):
571
+ pass
Original file line number Diff line number Diff line change @@ -158,9 +158,13 @@ def configure_args(self):
158
158
return config_args
159
159
160
160
@run_after ("install" )
161
- def check (self ):
161
+ @on_package_attributes (run_tests = True )
162
+ def run_checks (self ):
162
163
make ("check" , parallel = self .spec .satisfies ("@4.5:" ))
163
164
165
+ def check (self ):
166
+ pass
167
+
164
168
@run_after ("install" )
165
169
def cray_module_filenames (self ):
166
170
# Cray compiler searches for module files with uppercase names by
You can’t perform that action at this time.
0 commit comments