Hi,
today I've commited a script to check commited work _after all is
commited and _before_ pushing up work to savannah. Goal is to know, that
all commits, which are pushed up, will work together.
It needs at first a configuration file, see delivery-check.conf.sample
for a sample configuration file. The most important there is the name of
a directory, where all checks will be performed. This directory is
situated outside of the normal workarea (parallel to the normal workarea
directory). This directory must not exists. Then you can start this
script from inside your normal workarea repo: "./delivery-check".
The normal workarea repo will be cloned there, so only commited work is
used, but no changes, which are not commited! Then it builds simulavr,
run regression test, builds docu (if configured and not disabled by
commandline), performs a installation (local in a subdirectory, it will
never change your normal installation!), builds a dist package and
checks this by building simulavr from this dist package.
There are some commandline options, see "./delivery-check -h" to get help.
And there is a possibility to check not only the head revision of your
workarea repo. You can start this check also from some commits before to
see, for example, where a bug is introduced. And there is a commandline
option, which prevents removing this directory, where check is
performed, to save results for other tests.
So, I hope, we have a simple solution to check integrity of pushed
commits before pushed up to savannah. Unfortunately this script works
only with bash an on Linux. But it's not really complicated, so it
should be possible to create similar for Windows or Mac.
cu, Thomas
_______________________________________________
Simulavr-devel mailing list
Simulavr-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/simulavr-devel