We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1485296 commit 8ba8b11Copy full SHA for 8ba8b11
code/tests/tools/wildcard.py
@@ -1,8 +1,13 @@
1
import glob
2
+import sys
3
4
# Collect all .c and .cpp files directly in the cases directory (not subdirectories)
5
source_files = glob.glob("cases/*.c") + glob.glob("cases/*.cpp")
6
7
+# On Apple platforms, also include Objective-C and Objective-C++ files
8
+if sys.platform == "darwin":
9
+ source_files += glob.glob("cases/*.m") + glob.glob("cases/*.mm")
10
+
11
# Print each file name with "cases/" prefix
12
for file in source_files:
13
print(file)
0 commit comments