diff options
author | Florian Dold <florian@dold.me> | 2021-08-19 13:48:36 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2021-08-19 13:48:45 +0200 |
commit | 3ce740d87dc51c2f9a330d3e12237ba1fdd5f2e7 (patch) | |
tree | f47e2abbfab0d54fc198407fae1e8a250c010362 /packages/taler-wallet-cli/src/integrationtests/testrunner.ts | |
parent | 97a05ff659af274dcfcd9c76bf19100bbd51ce0e (diff) | |
download | wallet-core-3ce740d87dc51c2f9a330d3e12237ba1fdd5f2e7.tar.xz |
store 'list issue date' of denoms, cleanup
Diffstat (limited to 'packages/taler-wallet-cli/src/integrationtests/testrunner.ts')
-rw-r--r-- | packages/taler-wallet-cli/src/integrationtests/testrunner.ts | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/packages/taler-wallet-cli/src/integrationtests/testrunner.ts b/packages/taler-wallet-cli/src/integrationtests/testrunner.ts index cb1d621b6..1c090881e 100644 --- a/packages/taler-wallet-cli/src/integrationtests/testrunner.ts +++ b/packages/taler-wallet-cli/src/integrationtests/testrunner.ts @@ -90,6 +90,7 @@ import { runMerchantSpecPublicOrdersTest } from "./test-merchant-spec-public-ord interface TestMainFunction { (t: GlobalTestState): Promise<void>; timeoutMs?: number; + excludeByDefault?: boolean; suites?: string[]; } @@ -157,6 +158,8 @@ export interface TestRunSpec { export interface TestInfo { name: string; + suites: string[]; + excludeByDefault: boolean; } function updateCurrentSymlink(testDir: string): void { @@ -236,6 +239,10 @@ export async function runTests(spec: TestRunSpec) { if (intersection.size === 0) { continue; } + } else { + if (testCase.excludeByDefault) { + continue; + } } if (spec.dryRun) { @@ -389,6 +396,8 @@ export function reportAndQuit( export function getTestInfo(): TestInfo[] { return allTests.map((x) => ({ name: getTestName(x), + suites: x.suites ?? [], + excludeByDefault: x.excludeByDefault ?? false, })); } |