From ad4f818ac223f156546cfc00bd3929f2ddb82c33 Mon Sep 17 00:00:00 2001 From: aniket-engg Date: Fri, 15 Jan 2021 16:12:18 +0530 Subject: [PATCH] added new options --- libs/remix-tests/src/run.ts | 7 +++++-- libs/remix-tests/src/types.ts | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/libs/remix-tests/src/run.ts b/libs/remix-tests/src/run.ts index 31318a1ccb..2fed37bd6e 100644 --- a/libs/remix-tests/src/run.ts +++ b/libs/remix-tests/src/run.ts @@ -45,8 +45,11 @@ commander.command('help').description('output usage information').action(functio // get current version commander - .option('-v, --verbose ', 'run with verbosity', mapVerbosity) - .option('-o, --optimize ', 'run compiler optimization', mapOptimize) + .option('-c, --compiler ', 'set compiler version') + .option('-e, --evm ', 'set EVM version') + .option('-o, --optimize ', 'enable/disable optimization', mapOptimize) + .option('-r, --runs ', 'set runs') + .option('-v, --verbose ', 'set verbosity level', mapVerbosity) .action(async (testsPath) => { // Check if path exists diff --git a/libs/remix-tests/src/types.ts b/libs/remix-tests/src/types.ts index 67293ba38b..e0953d0a7c 100644 --- a/libs/remix-tests/src/types.ts +++ b/libs/remix-tests/src/types.ts @@ -53,7 +53,7 @@ export interface CompilerConfiguration { currentCompilerUrl: string, evmVersion: string, optimize: boolean, - usingWorker: boolean, + usingWorker?: boolean, runs: number }