Skip to content

cmake with autotest#350

Open
jgallagher59701 wants to merge 15 commits intomasterfrom
jhrg/cmake-with-autotest
Open

cmake with autotest#350
jgallagher59701 wants to merge 15 commits intomasterfrom
jhrg/cmake-with-autotest

Conversation

@jgallagher59701
Copy link
Copy Markdown
Member

@jgallagher59701 jgallagher59701 commented Apr 5, 2026

Cmake with autotest

Change how the libdap4 cmake build runs the integration tests (aka. the autotool/autotest tests).

The first try at adding a cmake build for ported the tests used a bunch or Python code. It was complicated and really hard to use when a test failed. I have changed to a hybrid approach where cmake is used for the build and sets up ctest to run the unit tests. However, the new approach uses autoconf to set up the autotest tests and builds the tests using the original *.at files. Ctest is then used to run those. But since the shell scripts can be run themselves, it should be easier to use the tests when the code is broken. For example, we can use the --baselines=yes option to the scripts to build baselines for tests.

This change also removes ~1,000 lines of code.

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Apr 7, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant