aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/common/105 generatorcustom/gen-resx.py
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/common/105 generatorcustom/gen-resx.py')
-rwxr-xr-xmeson/test cases/common/105 generatorcustom/gen-resx.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/meson/test cases/common/105 generatorcustom/gen-resx.py b/meson/test cases/common/105 generatorcustom/gen-resx.py
new file mode 100755
index 000000000..242a962d8
--- /dev/null
+++ b/meson/test cases/common/105 generatorcustom/gen-resx.py
@@ -0,0 +1,9 @@
+#!/usr/bin/env python3
+
+import sys
+
+ofile = sys.argv[1]
+num = sys.argv[2]
+
+with open(ofile, 'w') as f:
+ f.write(f'res{num}\n')