diff --git a/Documentation/Cookbook/Scripts/RunExamples.py b/Documentation/Cookbook/Scripts/RunExamples.py index c8a1e005b46e9e576973921d057380cd2007f019..7fdd7ea2e9ed3fd8e974952ecd422a4545a4cc24 100755 --- a/Documentation/Cookbook/Scripts/RunExamples.py +++ b/Documentation/Cookbook/Scripts/RunExamples.py @@ -28,12 +28,19 @@ import re from rst_utils import examples_usage_regex +# blacklist ApplicationExample for now because it does not produce a binary +# we can run (we could patch this script to support applications in the future) +blacklist = ["ApplicationExample"] + def run_example(otb_root, otb_data, name, dry_run): """ Run an example by name Assumes the current working directory is an OTB build """ + if name in blacklist: + return + # Find binary in bin/ binary_names = glob.glob(join("bin", name)) if len(binary_names) == 0: