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 fc90555 commit df2cc79Copy full SHA for df2cc79
build.js
@@ -29,6 +29,7 @@ if (args.includes('-h')) {
29
-c force PNG to CHR conversion
30
-o override autodetect mmc1 header with cnrom
31
-t run tests (requires cargo)
32
+-T run single test
33
-h you are here
34
`);
35
process.exit(0);
@@ -203,3 +204,9 @@ if (args.includes('-t')) {
203
204
console.log('\nrunning tests');
205
exec('cargo run --release --manifest-path tests/Cargo.toml -- -t');
206
}
207
+
208
+if (args.includes('-T')) {
209
+ const singleTest = args[1+args.indexOf('-T')];
210
+ console.log(`\nrunning single test: ${singleTest}`);
211
+ exec(`cargo run --release --manifest-path tests/Cargo.toml -- -T ${singleTest}`);
212
+}
0 commit comments