src/HOL/Mutabelle/lib/Tools/mutabelle
author bulwahn
Thu, 22 Sep 2011 10:48:53 +0200
changeset 45040 8570623e3b6d
parent 43912 13e6a4e70219
child 45165 f4896c792316
permissions -rwxr-xr-x
changing quickcheck_timeout to 30 seconds in mutabelle's testing
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
40975
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
     1
#!/usr/bin/env bash
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
     2
#
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
     3
# Author: Lukas Bulwahn
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
     4
#
41309
2e9bf718a7a1 some attempts to fit diagnostic output into regular TTY (75-80 characters per line);
wenzelm
parents: 41191
diff changeset
     5
# DESCRIPTION: mutant-testing for counterexample generators and automated tools
40975
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
     6
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
     7
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
     8
PRG="$(basename "$0")"
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
     9
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
    10
function usage() {
42119
21714b0de625 eliminated hardwired MUTABELLE_OUTPUT_PATH (cf. 6a147393c62a)
krauss
parents: 41949
diff changeset
    11
  [ -n "$MUTABELLE_OUTPUT_PATH" ] || MUTABELLE_OUTPUT_PATH="None"
40975
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
    12
  echo
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
    13
  echo "Usage: isabelle $PRG [OPTIONS] THEORY"
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
    14
  echo
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
    15
  echo "  Options are:"
41949
f9a2e10c49cb more conventional Mutabelle settings -- similar to Mirabelle;
wenzelm
parents: 41309
diff changeset
    16
  echo "    -L LOGIC     parent logic to use (default $MUTABELLE_LOGIC)"
f9a2e10c49cb more conventional Mutabelle settings -- similar to Mirabelle;
wenzelm
parents: 41309
diff changeset
    17
  echo "    -T THEORY    parent theory to use (default $MUTABELLE_IMPORT_THEORY)"
f9a2e10c49cb more conventional Mutabelle settings -- similar to Mirabelle;
wenzelm
parents: 41309
diff changeset
    18
  echo "    -O DIR       output directory for test data (default $MUTABELLE_OUTPUT_PATH)"
40975
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
    19
  echo
41309
2e9bf718a7a1 some attempts to fit diagnostic output into regular TTY (75-80 characters per line);
wenzelm
parents: 41191
diff changeset
    20
  echo "  THEORY is the name of the theory of which all theorems should be"
2e9bf718a7a1 some attempts to fit diagnostic output into regular TTY (75-80 characters per line);
wenzelm
parents: 41191
diff changeset
    21
  echo "  mutated and tested."
41077
fd6f41d349ef improving the mutabelle script
bulwahn
parents: 41021
diff changeset
    22
  echo
40975
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
    23
  exit 1
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
    24
}
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
    25
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
    26
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
    27
## process command line
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
    28
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
    29
# options
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
    30
41949
f9a2e10c49cb more conventional Mutabelle settings -- similar to Mirabelle;
wenzelm
parents: 41309
diff changeset
    31
MUTABELLE_IMPORTS=""
41077
fd6f41d349ef improving the mutabelle script
bulwahn
parents: 41021
diff changeset
    32
fd6f41d349ef improving the mutabelle script
bulwahn
parents: 41021
diff changeset
    33
while getopts "L:T:O:" OPT
40975
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
    34
do
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
    35
  case "$OPT" in
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
    36
    L)
41021
3efa0ec42ed4 adapting copied bash code in mutabelle script
bulwahn
parents: 40975
diff changeset
    37
      MUTABELLE_LOGIC="$OPTARG"
40975
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
    38
      ;;
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
    39
    T)
41949
f9a2e10c49cb more conventional Mutabelle settings -- similar to Mirabelle;
wenzelm
parents: 41309
diff changeset
    40
      MUTABELLE_IMPORTS="$MUTABELLE_IMPORTS \"$OPTARG\""
40975
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
    41
      ;;
41077
fd6f41d349ef improving the mutabelle script
bulwahn
parents: 41021
diff changeset
    42
    O)      
41021
3efa0ec42ed4 adapting copied bash code in mutabelle script
bulwahn
parents: 40975
diff changeset
    43
      MUTABELLE_OUTPUT_PATH="$OPTARG"
40975
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
    44
      ;;
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
    45
    \?)
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
    46
      usage
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
    47
      ;;
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
    48
  esac
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
    49
done
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
    50
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
    51
shift $(($OPTIND - 1))
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
    52
41949
f9a2e10c49cb more conventional Mutabelle settings -- similar to Mirabelle;
wenzelm
parents: 41309
diff changeset
    53
if [ "$MUTABELLE_IMPORTS" = "" ]
41077
fd6f41d349ef improving the mutabelle script
bulwahn
parents: 41021
diff changeset
    54
then
41949
f9a2e10c49cb more conventional Mutabelle settings -- similar to Mirabelle;
wenzelm
parents: 41309
diff changeset
    55
  MUTABELLE_IMPORTS="$MUTABELLE_IMPORT_THEORY"
41077
fd6f41d349ef improving the mutabelle script
bulwahn
parents: 41021
diff changeset
    56
fi
fd6f41d349ef improving the mutabelle script
bulwahn
parents: 41021
diff changeset
    57
40975
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
    58
[ "$#" -ne 1 ] && usage
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
    59
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
    60
MUTABELLE_TEST_THEORY="$1"
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
    61
42119
21714b0de625 eliminated hardwired MUTABELLE_OUTPUT_PATH (cf. 6a147393c62a)
krauss
parents: 41949
diff changeset
    62
if [ -z "$MUTABELLE_OUTPUT_PATH" ]; then
21714b0de625 eliminated hardwired MUTABELLE_OUTPUT_PATH (cf. 6a147393c62a)
krauss
parents: 41949
diff changeset
    63
  MUTABELLE_OUTPUT_PATH="${ISABELLE_TMP_PREFIX}-mutabelle$$"
21714b0de625 eliminated hardwired MUTABELLE_OUTPUT_PATH (cf. 6a147393c62a)
krauss
parents: 41949
diff changeset
    64
  PURGE_OUTPUT="true"
21714b0de625 eliminated hardwired MUTABELLE_OUTPUT_PATH (cf. 6a147393c62a)
krauss
parents: 41949
diff changeset
    65
fi
21714b0de625 eliminated hardwired MUTABELLE_OUTPUT_PATH (cf. 6a147393c62a)
krauss
parents: 41949
diff changeset
    66
41077
fd6f41d349ef improving the mutabelle script
bulwahn
parents: 41021
diff changeset
    67
export MUTABELLE_OUTPUT_PATH
fd6f41d349ef improving the mutabelle script
bulwahn
parents: 41021
diff changeset
    68
41949
f9a2e10c49cb more conventional Mutabelle settings -- similar to Mirabelle;
wenzelm
parents: 41309
diff changeset
    69
40975
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
    70
## main
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
    71
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
    72
echo "Starting Mutabelle..."
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
    73
41949
f9a2e10c49cb more conventional Mutabelle settings -- similar to Mirabelle;
wenzelm
parents: 41309
diff changeset
    74
40975
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
    75
# setup
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
    76
41077
fd6f41d349ef improving the mutabelle script
bulwahn
parents: 41021
diff changeset
    77
mkdir -p "$MUTABELLE_OUTPUT_PATH"
40975
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
    78
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
    79
echo "theory Mutabelle_Test
43149
9675d631df3d adding quickcheck narrowing to mutabelle script; deactivating nitpick in mutabelle script momentarily because we are not monitoring the results effectively
bulwahn
parents: 43148
diff changeset
    80
imports \"~~/src/HOL/Library/Quickcheck_Narrowing\" $MUTABELLE_IMPORTS
40975
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
    81
uses     
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
    82
  \"$MUTABELLE_HOME/mutabelle.ML\"
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
    83
  \"$MUTABELLE_HOME/mutabelle_extra.ML\"
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
    84
begin
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
    85
45040
8570623e3b6d changing quickcheck_timeout to 30 seconds in mutabelle's testing
bulwahn
parents: 43912
diff changeset
    86
declare [[quickcheck_timeout = 30]]
8570623e3b6d changing quickcheck_timeout to 30 seconds in mutabelle's testing
bulwahn
parents: 43912
diff changeset
    87
40975
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
    88
ML {*
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
    89
val mtds = [
43912
13e6a4e70219 exporting function in quickcheck; adapting mutabelle script
bulwahn
parents: 43380
diff changeset
    90
  MutabelleExtra.quickcheck_mtd (Context.proof_map (Quickcheck.set_active_testers [\"random\"])) \"random\",
13e6a4e70219 exporting function in quickcheck; adapting mutabelle script
bulwahn
parents: 43380
diff changeset
    91
  MutabelleExtra.quickcheck_mtd (Context.proof_map (Quickcheck.set_active_testers [\"exhaustive\"])) \"exhaustive\",
13e6a4e70219 exporting function in quickcheck; adapting mutabelle script
bulwahn
parents: 43380
diff changeset
    92
  MutabelleExtra.quickcheck_mtd (Context.proof_map (Quickcheck.set_active_testers [\"exhaustive\"]) #> Config.put Quickcheck.finite_types false) \"exhaustive_nft\",
13e6a4e70219 exporting function in quickcheck; adapting mutabelle script
bulwahn
parents: 43380
diff changeset
    93
  MutabelleExtra.quickcheck_mtd (Context.proof_map (Quickcheck.set_active_testers [\"narrowing\"]) #> Config.put Quickcheck.finite_types false) \"narrowing\",
13e6a4e70219 exporting function in quickcheck; adapting mutabelle script
bulwahn
parents: 43380
diff changeset
    94
  MutabelleExtra.quickcheck_mtd (Context.proof_map (Quickcheck.set_active_testers [\"narrowing\"]) #> Config.put Quickcheck.finite_types false
43380
809de915155f improved mutabelle script to use nat for quickcheck_narrowing
bulwahn
parents: 43149
diff changeset
    95
    #> Context.proof_map (Quickcheck.map_test_params (apfst (K [@{typ nat}])))) \"narrowing_nat\"  
43149
9675d631df3d adding quickcheck narrowing to mutabelle script; deactivating nitpick in mutabelle script momentarily because we are not monitoring the results effectively
bulwahn
parents: 43148
diff changeset
    96
(*  MutabelleExtra.nitpick_mtd *)
40975
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
    97
]
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
    98
*}
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
    99
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
   100
ML {*
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
   101
fun mutation_testing_of thy =
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
   102
  (MutabelleExtra.random_seed := 1.0;
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
   103
  MutabelleExtra.thms_of false thy
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
   104
  |> (fn thms => MutabelleExtra.mutate_theorems_and_write_report
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
   105
         @{theory} mtds thms (\"$MUTABELLE_OUTPUT_PATH/log\")))
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
   106
*}
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
   107
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
   108
ML {*
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
   109
  mutation_testing_of @{theory $MUTABELLE_TEST_THEORY}
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
   110
*}
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
   111
41077
fd6f41d349ef improving the mutabelle script
bulwahn
parents: 41021
diff changeset
   112
end" > "$MUTABELLE_OUTPUT_PATH/Mutabelle_Test.thy"
40975
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
   113
41949
f9a2e10c49cb more conventional Mutabelle settings -- similar to Mirabelle;
wenzelm
parents: 41309
diff changeset
   114
40975
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
   115
# execution
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
   116
41949
f9a2e10c49cb more conventional Mutabelle settings -- similar to Mirabelle;
wenzelm
parents: 41309
diff changeset
   117
"$ISABELLE_PROCESS" -e 'use_thy "$MUTABELLE_OUTPUT_PATH/Mutabelle_Test"' -q "$MUTABELLE_LOGIC" > /dev/null 2>&1
41077
fd6f41d349ef improving the mutabelle script
bulwahn
parents: 41021
diff changeset
   118
fd6f41d349ef improving the mutabelle script
bulwahn
parents: 41021
diff changeset
   119
fd6f41d349ef improving the mutabelle script
bulwahn
parents: 41021
diff changeset
   120
[ $? -ne 0 ] && echo "isabelle processing of mutabelle failed"
40975
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
   121
41949
f9a2e10c49cb more conventional Mutabelle settings -- similar to Mirabelle;
wenzelm
parents: 41309
diff changeset
   122
40975
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
   123
# make statistics
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
   124
41077
fd6f41d349ef improving the mutabelle script
bulwahn
parents: 41021
diff changeset
   125
function count() {
41191
4aa6465fec65 added nitpick to mutabelle script
bulwahn
parents: 41077
diff changeset
   126
  cat "$MUTABELLE_OUTPUT_PATH/log" | grep "$1: $2" | wc -l
41077
fd6f41d349ef improving the mutabelle script
bulwahn
parents: 41021
diff changeset
   127
}
40975
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
   128
43149
9675d631df3d adding quickcheck narrowing to mutabelle script; deactivating nitpick in mutabelle script momentarily because we are not monitoring the results effectively
bulwahn
parents: 43148
diff changeset
   129
function mk_stat() {
9675d631df3d adding quickcheck narrowing to mutabelle script; deactivating nitpick in mutabelle script momentarily because we are not monitoring the results effectively
bulwahn
parents: 43148
diff changeset
   130
  echo "$1 : C: $(count $1 "GenuineCex") N: $(count $1 "NoCex") T: $(count $1 "Timeout") E: $(count $1 "Error")"
9675d631df3d adding quickcheck narrowing to mutabelle script; deactivating nitpick in mutabelle script momentarily because we are not monitoring the results effectively
bulwahn
parents: 43148
diff changeset
   131
}
40975
498f272b4bcb adding mutabelle as a component and an isabelle tool to be used in regression testing
bulwahn
parents:
diff changeset
   132
43149
9675d631df3d adding quickcheck narrowing to mutabelle script; deactivating nitpick in mutabelle script momentarily because we are not monitoring the results effectively
bulwahn
parents: 43148
diff changeset
   133
mk_stat "quickcheck_random"
9675d631df3d adding quickcheck narrowing to mutabelle script; deactivating nitpick in mutabelle script momentarily because we are not monitoring the results effectively
bulwahn
parents: 43148
diff changeset
   134
mk_stat "quickcheck_exhaustive"
9675d631df3d adding quickcheck narrowing to mutabelle script; deactivating nitpick in mutabelle script momentarily because we are not monitoring the results effectively
bulwahn
parents: 43148
diff changeset
   135
mk_stat "quickcheck_exhaustive_nft"
9675d631df3d adding quickcheck narrowing to mutabelle script; deactivating nitpick in mutabelle script momentarily because we are not monitoring the results effectively
bulwahn
parents: 43148
diff changeset
   136
mk_stat "quickcheck_narrowing"
9675d631df3d adding quickcheck narrowing to mutabelle script; deactivating nitpick in mutabelle script momentarily because we are not monitoring the results effectively
bulwahn
parents: 43148
diff changeset
   137
mk_stat "quickcheck_narrowing_nat"
9675d631df3d adding quickcheck narrowing to mutabelle script; deactivating nitpick in mutabelle script momentarily because we are not monitoring the results effectively
bulwahn
parents: 43148
diff changeset
   138
mk_stat "nitpick"
42119
21714b0de625 eliminated hardwired MUTABELLE_OUTPUT_PATH (cf. 6a147393c62a)
krauss
parents: 41949
diff changeset
   139
21714b0de625 eliminated hardwired MUTABELLE_OUTPUT_PATH (cf. 6a147393c62a)
krauss
parents: 41949
diff changeset
   140
## cleanup
21714b0de625 eliminated hardwired MUTABELLE_OUTPUT_PATH (cf. 6a147393c62a)
krauss
parents: 41949
diff changeset
   141
21714b0de625 eliminated hardwired MUTABELLE_OUTPUT_PATH (cf. 6a147393c62a)
krauss
parents: 41949
diff changeset
   142
if [ -n "$PURGE_OUTPUT" ]; then
21714b0de625 eliminated hardwired MUTABELLE_OUTPUT_PATH (cf. 6a147393c62a)
krauss
parents: 41949
diff changeset
   143
  rm -rf "$MUTABELLE_OUTPUT_PATH"
21714b0de625 eliminated hardwired MUTABELLE_OUTPUT_PATH (cf. 6a147393c62a)
krauss
parents: 41949
diff changeset
   144
fi