Vulkan
Vulkan copied to clipboard
New validate_all.py script not portable to linux or macOS
The new batch script is great, but currently works only on Windows.
Would it be possible to add support for linux & macOS? Perhaps something like:
...
import platform
if os.path.exists("validation_output.txt"):
os.remove("validation_output.txt")
if platform.system() == 'Linux' or platform.system() == 'Darwin':
EXE_WILDCARD = "./*"
else:
EXE_WILDCARD = "*.exe"
for sample in glob.glob(EXE_WILDCARD):
...
Maybe at some point. Right now it's mostly meant for (my) personal) use.
The script should work with non-windows platforms. I successfully tested on Linux.
Feel free to let me know if it needs further adjustments.
Thanks @SaschaWillems for adding this.