summaryrefslogtreecommitdiff
path: root/scripts/foreach.py
Commit message (Collapse)AuthorAgeFilesLines
* Lit tests: print failing module index (#4614)Alon Zakai2022-04-261-0/+5
| | | | When a .wat file has lots of modules inside it, printing the index of the module is helpful to find which is erroring.
* Add a `foreach` script for use in lit testsThomas Lively2021-06-171-0/+46
The major drawback of lit tests is that so far they have only supported a single module per test file. This commit adds a new utility script that splits an input file into multiple files and runs a command on each of them, giving lit tests a simple way to test multiple modules per file.