summaryrefslogtreecommitdiffstats
path: root/tests/special_characters
diff options
context:
space:
mode:
Diffstat (limited to 'tests/special_characters')
-rw-r--r--tests/special_characters/SConscript7
-rw-r--r--tests/special_characters/funny-proto+name has.characters.proto0
2 files changed, 7 insertions, 0 deletions
diff --git a/tests/special_characters/SConscript b/tests/special_characters/SConscript
new file mode 100644
index 00000000..05dccaee
--- /dev/null
+++ b/tests/special_characters/SConscript
@@ -0,0 +1,7 @@
+# Test that special characters in .proto filenames work.
+
+Import('env')
+
+env.Proto("funny-proto+name has.characters.proto")
+env.Nanopb("funny-proto+name has.characters.pb.c", "funny-proto+name has.characters.pb")
+env.Object("funny-proto+name has.characters.pb.c")
diff --git a/tests/special_characters/funny-proto+name has.characters.proto b/tests/special_characters/funny-proto+name has.characters.proto
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/tests/special_characters/funny-proto+name has.characters.proto