-
Notifications
You must be signed in to change notification settings - Fork 266
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix make distcheck problem in dap4_test (but turning off nczarr_test/run_scalar.sh due to issue) #2546
Closed
Closed
fix make distcheck problem in dap4_test (but turning off nczarr_test/run_scalar.sh due to issue) #2546
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
86cef5a
fixing baseline subdir problem
edwardhartnett 10cf365
more makefile fixes for make distcheck
edwardhartnett 23b247d
turned off nczarr_test/run_scalar.sh test
edwardhartnett cc7cf33
turning on distcheck in CI
edwardhartnett c71a748
turning off distcheck in CI
edwardhartnett 81f922f
turning on distcheck in CI
edwardhartnett 46bd409
turning on distcheck in CI
edwardhartnett 8955433
turning on distcheck in CI
edwardhartnett 3446e92
fixing docs missing EXTRA_DIST files
edwardhartnett 07b0e47
turn on distcheck in CI for parallel builds
edwardhartnett File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
## This is a automake file, part of Unidata's netCDF package. | ||
# Copyright 2018v, see the COPYRIGHT file for more information. | ||
|
||
# This ensures that a bunch of DAP test files are present in the build. | ||
|
||
# Ed Hartnett, 11/4/22 | ||
|
||
EXTRA_DIST = CMakeLists.txt test_atomic_array.nc.d4m \ | ||
test_enum_array.nc.d4m test_one_vararray.nc.d4m \ | ||
test_sequence_2.syn.d4m test_struct_nested.nc.d4m test_vlen3.nc.d4m \ | ||
Makefile.am test_atomic_array.nc.d4p test_enum_array.nc.d4p \ | ||
test_one_vararray.nc.d4p test_sequence_2.syn.d4p \ | ||
test_struct_nested.nc.d4p test_vlen3.nc.d4p test_anon_dim.2.syn.d4d \ | ||
test_atomic_array.syn.d4d test_enum.nc.d4d test_one_var.nc.d4d \ | ||
test_struct1.nc.d4d test_struct_type.nc.d4d test_vlen4.nc.d4d \ | ||
test_anon_dim.2.syn.d4m test_atomic_array.syn.d4m test_enum.nc.d4m \ | ||
test_one_var.nc.d4m test_struct1.nc.d4m test_struct_type.nc.d4m \ | ||
test_vlen4.nc.d4m test_anon_dim.2.syn.d4p test_atomic_array.syn.d4p \ | ||
test_enum.nc.d4p test_one_var.nc.d4p test_struct1.nc.d4p \ | ||
test_struct_type.nc.d4p test_vlen4.nc.d4p test_anon_dim.syn.d4d \ | ||
test_atomic_types.nc.d4d test_fill.nc.d4d test_opaque_array.7.nc.d4d \ | ||
test_struct_array.6.nc.d4d test_unlim1.nc.d4d test_vlen5.nc.d4d \ | ||
test_anon_dim.syn.d4m test_atomic_types.nc.d4m test_fill.nc.d4m \ | ||
test_opaque_array.7.nc.d4m test_struct_array.6.nc.d4m \ | ||
test_unlim1.nc.d4m test_vlen5.nc.d4m test_anon_dim.syn.d4p \ | ||
test_atomic_types.nc.d4p test_fill.nc.d4p test_opaque_array.7.nc.d4p \ | ||
test_struct_array.6.nc.d4p test_unlim1.nc.d4p test_vlen5.nc.d4p \ | ||
test_atomic_array.5.nc.d4d test_atomic_types.syn.d4d \ | ||
test_groups1.nc.d4d test_opaque_array.nc.d4d test_struct_array.nc.d4d \ | ||
test_utf8.nc.d4d test_vlen6.nc.d4d test_atomic_array.5.nc.d4m \ | ||
test_atomic_types.syn.d4m test_groups1.nc.d4m \ | ||
test_opaque_array.nc.d4m test_struct_array.nc.d4m test_utf8.nc.d4m \ | ||
test_vlen6.nc.d4m test_atomic_array.5.nc.d4p \ | ||
test_atomic_types.syn.d4p test_groups1.nc.d4p \ | ||
test_opaque_array.nc.d4p test_struct_array.nc.d4p test_utf8.nc.d4p \ | ||
test_vlen6.nc.d4p test_atomic_array.8.nc.d4d test_enum_2.nc.d4d \ | ||
test_one_vararray.1.nc.d4d test_opaque.nc.d4d \ | ||
test_struct_array.syn.d4d test_vlen1.nc.d4d test_vlen7.nc.d4d \ | ||
test_atomic_array.8.nc.d4m test_enum_2.nc.d4m \ | ||
test_one_vararray.1.nc.d4m test_opaque.nc.d4m \ | ||
test_struct_array.syn.d4m test_vlen1.nc.d4m test_vlen7.nc.d4m \ | ||
test_atomic_array.8.nc.d4p test_enum_2.nc.d4p \ | ||
test_one_vararray.1.nc.d4p test_opaque.nc.d4p \ | ||
test_struct_array.syn.d4p test_vlen1.nc.d4p test_vlen7.nc.d4p \ | ||
test_atomic_array.9.nc.d4d test_enum_array.4.nc.d4d \ | ||
test_one_vararray.3.nc.d4d test_sequence_1.syn.d4d \ | ||
test_struct_nested3.nc.d4d test_vlen2.nc.d4d test_vlen8.nc.d4d \ | ||
test_atomic_array.9.nc.d4m test_enum_array.4.nc.d4m \ | ||
test_one_vararray.3.nc.d4m test_sequence_1.syn.d4m \ | ||
test_struct_nested3.nc.d4m test_vlen2.nc.d4m test_vlen8.nc.d4m \ | ||
test_atomic_array.9.nc.d4p test_enum_array.4.nc.d4p \ | ||
test_one_vararray.3.nc.d4p test_sequence_1.syn.d4p \ | ||
test_struct_nested3.nc.d4p test_vlen2.nc.d4p test_vlen8.nc.d4p \ | ||
test_atomic_array.nc.d4d test_enum_array.nc.d4d \ | ||
test_one_vararray.nc.d4d test_sequence_2.syn.d4d \ | ||
test_struct_nested.nc.d4d test_vlen3.nc.d4d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
## This is a automake file, part of Unidata's netCDF package. | ||
# Copyright 2018v, see the COPYRIGHT file for more information. | ||
|
||
# This ensures that a bunch of DAP test files are present in the build. | ||
|
||
# Ed Hartnett, 11/4/22 | ||
|
||
EXTRA_DIST = amsre_20060131v5.dat.hyrax CMakeLists.txt \ | ||
nc4_nc_classic_comp.nc.hyrax nc4_strings_comp.nc.hyrax \ | ||
nc4_unsigned_types_comp.nc.hyrax ref_tst_compounds.nc.hyrax |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
## This is a automake file, part of Unidata's netCDF package. | ||
# Copyright 2018v, see the COPYRIGHT file for more information. | ||
|
||
# This ensures that a bunch of DAP test files are present in the build. | ||
|
||
# Ed Hartnett, 11/4/22 | ||
|
||
EXTRA_DIST = CMakeLists.txt test_atomic_array.nc.dmp test_enum.nc.dmp \ | ||
test_one_var.nc.dmp test_struct_array.6.nc.dmp test_utf8.nc.dmp \ | ||
test_vlen7.nc.dmp test_atomic_array.syn.dmp test_fillmismatch.nc.dmp \ | ||
test_opaque_array.7.nc.dmp test_struct_array.nc.dmp test_vlen1.nc.dmp \ | ||
test_vlen8.nc.dmp test_anon_dim.2.syn.dmp test_atomic_types.nc.dmp \ | ||
test_fill.nc.dmp test_opaque_array.nc.dmp test_struct_array.syn.dmp \ | ||
test_vlen2.nc.dmp test_anon_dim.syn.dmp test_atomic_types.syn.dmp \ | ||
test_groups1.nc.dmp test_opaque.nc.dmp test_struct_nested3.nc.dmp \ | ||
test_vlen3.nc.dmp test_atomic_array.5.nc.dmp test_enum_2.nc.dmp \ | ||
test_one_vararray.1.nc.dmp test_sequence_1.syn.dmp \ | ||
test_struct_nested.nc.dmp test_vlen4.nc.dmp \ | ||
test_atomic_array.8.nc.dmp test_enum_array.4.nc.dmp \ | ||
test_one_vararray.3.nc.dmp test_sequence_2.syn.dmp \ | ||
test_struct_type.nc.dmp test_vlen5.nc.dmp test_atomic_array.9.nc.dmp \ | ||
test_enum_array.nc.dmp test_one_vararray.nc.dmp test_struct1.nc.dmp \ | ||
test_unlim1.nc.dmp test_vlen6.nc.dmp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
## This is a automake file, part of Unidata's netCDF package. | ||
# Copyright 2018v, see the COPYRIGHT file for more information. | ||
|
||
# This ensures that a bunch of DAP test files are present in the build. | ||
|
||
# Ed Hartnett, 11/4/22 | ||
|
||
EXTRA_DIST = CMakeLists.txt test_atomic_types.nc.dmp \ | ||
test_groups1.nc.dmp test_sequence_1.syn.dmp \ | ||
test_struct_nested3.nc.dmp test_vlen11.nc.dmp test_vlen4.nc.dmp \ | ||
test_vlen9.nc.dmp test_atomic_types.syn.dmp test_misc1.nc.dmp \ | ||
test_sequence_2.syn.dmp test_struct_nested.hdf5.dmp test_vlen1.nc.dmp \ | ||
test_vlen5.hdf5.dmp tst_fills.nc.dmp nc4_unsigned_types.nc.hyrax \ | ||
test_enum_2.nc.dmp test_one_vararray.nc.dmp test_struct1.nc.dmp \ | ||
test_struct_nested.nc.dmp test_vlen2.nc.dmp test_vlen5.nc.dmp \ | ||
test_anon_dim.syn.dmp test_enum_array.nc.dmp test_one_var.nc.dmp \ | ||
test_struct_array.nc.dmp test_struct_type.nc.dmp test_vlen3.hdf5.dmp \ | ||
test_vlen6.nc.dmp test_atomic_array.nc.dmp test_enum.nc.dmp \ | ||
test_opaque_array.nc.dmp test_struct_array.syn.dmp test_utf8.nc.dmp \ | ||
test_vlen3.nc.dmp test_vlen7.nc.dmp test_atomic_array.syn.dmp \ | ||
test_fill.nc.dmp test_opaque.nc.dmp test_struct_nested3.hdf5.dmp \ | ||
test_vlen10.nc.dmp test_vlen4.hdf5.dmp test_vlen8.nc.dmp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
## This is a automake file, part of Unidata's netCDF package. | ||
# Copyright 2018v, see the COPYRIGHT file for more information. | ||
|
||
# This ensures that a bunch of DAP test files are present in the build. | ||
|
||
# Ed Hartnett, 11/4/22 | ||
|
||
EXTRA_DIST = CMakeLists.txt GOES16_TEST1.nc4.thredds |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The addition of the DISTCHECK_CONFIGURE_FLAGS is great information, thanks! We'll want to keep the organization we have where build tests and run tests are separate steps in the workflow, for consistency.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well I'm not sure how that can be done with the distcheck target.
The distcheck target makes a dist, unpacks it, builds it (outside the source directory) and runs make check, all in one step.
So I don't know how we can build tests in one step and run them in another...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The main use of the distcheck target over the check and installcheck targets, in my understanding, is checking whether the project
make uninstall
andmake distclean
).If you can add a single run of
make distcheck
that only runs if all the Autotools runs ofmake check
succeed, that should complete all objectives.Another way to complete the second objective within the current framework is to perform all of the build and test steps in a subdirectory (i.e., start the configure step with
mkdir build; cd build
, and start every subsequent step withcd build
).It would also be possible to start the Linux Autotools runs with
make dist
, upload the resulting distributions, and use those instead ofactions/checkout
for getting the source code in later steps, which would achieve the first objective.The
make distclean
check is easy with the out-of-tree build (if there's any files there, it's not in the state it was before../configure
) and should be straightforward with an in-repository build (fiddle withgit status
and friends until it tells you if there are any files not checked in, then check that the only new files areconfigure
,Makefile.in
, and friends).