summaryrefslogtreecommitdiffstats
path: root/test cases/failing/92 custom target install data/preproc.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test cases/failing/92 custom target install data/preproc.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/test cases/failing/92 custom target install data/preproc.py b/test cases/failing/92 custom target install data/preproc.py
new file mode 100644
index 0000000..e6eba4c
--- /dev/null
+++ b/test cases/failing/92 custom target install data/preproc.py
@@ -0,0 +1,13 @@
+#!/usr/bin/env python3
+
+import sys
+
+if len(sys.argv) != 3:
+ print(sys.argv[0], '<input>', '<output>')
+
+inf = sys.argv[1]
+outf = sys.argv[2]
+
+with open(outf, 'wb') as o:
+ with open(inf, 'rb') as i:
+ o.write(i.read())