Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build/ci/templates/test_phases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ steps:
npm run package
npx gulp clean:cleanExceptTests
cp -r ./tmp/test ./out/test
npm run testSmoke
node ./out/test/smokeTest.js
displayName: 'Run Smoke Tests'
condition: and(succeeded(), contains(variables['TestsToRun'], 'testSmoke'))
env:
Expand Down
3 changes: 2 additions & 1 deletion src/test/standardTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ import { EXTENSION_ROOT_DIR_FOR_TESTS } from './constants';
process.env.IS_CI_SERVER_TEST_DEBUGGER = '';
process.env.VSC_PYTHON_CI_TEST = '1';
const workspacePath = process.env.CODE_TESTS_WORKSPACE ? process.env.CODE_TESTS_WORKSPACE : path.join(__dirname, '..', '..', 'src', 'test');
const extensionDevelopmentPath = process.env.CODE_EXTENSIONS_PATH ? process.env.CODE_EXTENSIONS_PATH : EXTENSION_ROOT_DIR_FOR_TESTS;

function start() {
console.log('*'.repeat(100));
console.log('Start Standard tests');
runTests({
extensionDevelopmentPath: EXTENSION_ROOT_DIR_FOR_TESTS,
extensionDevelopmentPath: extensionDevelopmentPath,
extensionTestsPath: path.join(EXTENSION_ROOT_DIR_FOR_TESTS, 'out', 'test', 'index'),
launchArgs: [workspacePath],
version: 'stable'
Expand Down