From 81a9d3e4dd1cf7c283a2c973e0671e2314fce120 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Fri, 23 Sep 2011 11:48:52 +0000 Subject: [PATCH] Added releng test suite to release tarball --- libisoburn/trunk/Makefile.am | 16 ++++++++++++++++ libisoburn/trunk/releng/README | 4 ++-- libisoburn/trunk/releng/template_new | 4 ++-- 3 files changed, 20 insertions(+), 4 deletions(-) diff --git a/libisoburn/trunk/Makefile.am b/libisoburn/trunk/Makefile.am index 38158550..f31998a8 100644 --- a/libisoburn/trunk/Makefile.am +++ b/libisoburn/trunk/Makefile.am @@ -247,6 +247,22 @@ EXTRA_DIST = \ xorriso/xorriso_buildstamp_none.h \ xorriso/README_gnu_xorriso \ xorriso/make_docs.sh \ + releng/README \ + releng/auto_cxx \ + releng/auto_isocontent \ + releng/auto_printsize \ + releng/change_shell_to_use \ + releng/codesamples/api_3lib.cpp \ + releng/codesamples/api_xorriso.cpp \ + releng/inc/releng_getopts.inc \ + releng/jigdo-gen-md5-list \ + releng/jigdo-gen-md5-list.1 \ + releng/manual_burn \ + releng/manual_devices \ + releng/manual_isojigdo \ + releng/releng_generated_data \ + releng/run_all_auto \ + releng/template_new \ $(man_MANS) diff --git a/libisoburn/trunk/releng/README b/libisoburn/trunk/releng/README index 793c05f9..70f2f6ee 100644 --- a/libisoburn/trunk/releng/README +++ b/libisoburn/trunk/releng/README @@ -209,7 +209,7 @@ not done as long as such a line remains. Your test must not start if no file ./inc/releng_getopts.inc -exists, i.e. if the current working direcoty is not ./releng. +exists, i.e. if the current working directory is not ./releng. If your test creates own files on disk, then it must do this underneath directory ./releng_generated_data/$test_name (resp. $GEN_DATA_DIR, see below). @@ -249,7 +249,7 @@ to the general options of the test suite: SPECIFIC_HELP 0=normal operation, 1=print help text of script and exit 0 Default 0. Setable to 1 by option -h -The code piece inc/releng_getopts.inc defines the follwoing functions +The code piece inc/releng_getopts.inc defines the following functions for use by the single tests: print_help Prints the help text for general options. diff --git a/libisoburn/trunk/releng/template_new b/libisoburn/trunk/releng/template_new index 50e9d470..a14e3a36 100755 --- a/libisoburn/trunk/releng/template_new +++ b/libisoburn/trunk/releng/template_new @@ -104,8 +104,8 @@ check_for_xorriso -x # check data dir, if any and after checking -x xorriso # === TEMPLATE: Decide whether your test will possibly create own files. -# === TEMPLATE: If yes, then make sure to remove this directory if not -# === +# === TEMPLATE: If yes, then create your files underneath ${GEN_DATA_DIR}. +# === TEMPLATE: The name in this variable is set by inc/releng_getopts.inc . # === TEMPLATE: If not, then remove this if ... fi statement. if [ -d "${GEN_DATA_DIR}" ]; then printf "\n${SELF}: directory %s exists!" ${GEN_DATA_DIR}