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 335e09d commit 9d8ce88Copy full SHA for 9d8ce88
build.js
@@ -204,13 +204,15 @@ console.log();
204
205
console.timeEnd('build');
206
207
+// tests
208
+
209
if (args.includes('-t')) {
210
console.log('\nrunning tests');
211
exec('cargo run --release --manifest-path tests/Cargo.toml -- -t');
212
}
213
214
if (args.includes('-T')) {
- const singleTest = args[1+args.indexOf('-T')];
215
+ const singleTest = args.slice(1+args.indexOf('-T')).join(' ');
216
console.log(`\nrunning single test: ${singleTest}`);
217
execArgs('cargo', [...'run --release --manifest-path tests/Cargo.toml -- -T'.split(' '), singleTest]);
218
0 commit comments