Commit 85b5c78c authored by Victor Poughon's avatar Victor Poughon

REFAC: blacklist ApplicationExample from cookbook for now

parent 89c6f3ff
......@@ -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:
# Find binary in bin/
binary_names = glob.glob(join("bin", name))
if len(binary_names) == 0:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment