test: fix --unittest matching

Hurrr.
This commit is contained in:
wm4 2019-11-08 20:26:57 +01:00
parent cd8fd4b788
commit 27d88e4a9b
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ bool run_tests(struct MPContext *mpctx)
bool run = false;
run |= strcmp(sel, "all-simple") == 0 && !t->is_complex;
run |= strcmp(sel, t->name);
run |= strcmp(sel, t->name) == 0;
if (run) {
if (t->run)