|
From: Lars H. <lhe...@us...> - 2004-04-21 09:19:46
|
Ethan Merritt writes: > While the dust is settling from the version 4 release, > I thought I'd have a go at adding a couple of new demos > and cleaning up the auto-generation of html demos. > > Is there there some way to make the generation of > demos (e.g. their inclusion in 'all.dem' or 'make html') > depend on the options selected in ./configure? > > For example, if you say > ./configure --disable-filledboxes > then it should not try to exercise fillstyle.dem gnuplot does not have a proper test suite as such. A proper test suite, GNU auto* style, would exercise gnuplot features, and print PASS/FAIL, no graphics. I am not sure this can be done with gnuplot in the first place. Using the demos for 'make check' was my original attempt at something that closely resembles a test suite. Hans-Bernhard Broeker writes: > On Mon, 19 Apr 2004, Ethan Merritt wrote: [...] > For html, you can quite certainly use automake conditionals to change the > list of html files being run. I believe this might unnecessarily complicate matters. The all-local.dem.in approach can easily be done with configure, once the demo that require specific configure options have been identified. |