diff --git a/testTs/import_tests.json b/testTs/import_tests.json index c41307e61cf78529cbdb69033d69b7d7bea555a5..5bd054ac6d9211b77a42df2b29c97e5d3b896320 100644 --- a/testTs/import_tests.json +++ b/testTs/import_tests.json @@ -7,5 +7,12 @@ "./testTs/test/externalModules/typeOnly/importDefaultNamedType/importDefaultNamedType.ts", "./testTs/test/moduleResolution/scopedPackages/scopedPackages.ts", "./testTs/test/moduleResolution/scopedPackagesClassic/scopedPackagesClassic.ts" + ], + "m_parameter" : [ + "./testTs/test/internalModules/DeclarationMerging/AmbientModuleAndNonAmbientFunctionWithTheSameNameAndCommonRoot.ts", + "./testTs/test/jsdoc/constructorTagOnClassConstructor.ts", + "./testTs/test/jsdoc/declarations/jsDeclarationsThisTypes.ts", + "./testTs/test/declarationEmit/declarationEmitWorkWithInlineComments.ts", + "./testTs/test/declarationEmit/exportDefaultNamespace.ts" ] } \ No newline at end of file diff --git a/testTs/run_testTs.py b/testTs/run_testTs.py index 2d176f1ed3a2c0d18faeb6d0afea8ad68912f317..bbc16375536234f6aa8dd6c520d90e99791c8a83 100644 --- a/testTs/run_testTs.py +++ b/testTs/run_testTs.py @@ -84,7 +84,10 @@ def run_test(file, tool, flag=False): if not os.path.exists(out_dir_path): os.makedirs(out_dir_path) try: - command_os(['node', '--expose-gc', tool, '-m', file, '--output-type']) + if file in IMPORT_TEST['import'] + IMPORT_TEST['m_parameter']: + command_os(['node', '--expose-gc', tool, '-m', file, '--output-type']) + else: + command_os(['node', '--expose-gc', tool, file, '--output-type']) except BaseException as e: print(e) if flag: