Commit graph

168 commits

Author SHA1 Message Date
Joao Moreno
c2fa7f6c89 tfs: linux, remove xvfb-run support 2017-07-03 11:45:11 +02:00
Joao Moreno
ccda5dce25 tfs: debug linux unix tests 2017-07-03 09:38:19 +02:00
Joao Moreno
3462fd14be tfs: windows build 2017-06-16 11:22:32 +02:00
Joao Moreno
1cc1b75d78 tfs: fix concurrent windows builds 2017-06-16 11:04:22 +02:00
Joao Moreno
b244b1483c develop in win-x64 2017-05-18 14:55:12 +02:00
Joao Moreno
a226da41de tfs: try to get a free xvfb server number 2017-05-18 13:48:06 +02:00
Joao Moreno
17a6e12e02 tfs: create env.ps1 2017-05-18 07:59:38 +02:00
Joao Moreno
15a6f0b4e9 fix 2017-05-17 16:44:14 +02:00
Joao Moreno
c0fd0eba1b tfs: fix npm distro install 2017-05-17 16:37:26 +02:00
Joao Moreno
1fb2d844ed remove build from test script 2017-05-17 11:48:51 +02:00
Benjamin Pasero
5057c95e6b some electron deprecation fixes 2017-05-11 07:54:36 +02:00
Joao Moreno
063396d1cc improve win32 tfs scripts 2017-05-10 12:11:50 +02:00
Joao Moreno
11f42a781c build 2017-04-26 10:18:08 +02:00
Johannes Rieken
e6d0de3cb1 set CWD when running tests 2017-04-25 08:51:03 +02:00
Johannes Rieken
20651fb6d6 make xvfb an arg 2017-04-13 12:44:37 +02:00
Johannes Rieken
7ac05a0a88 pass on args 2017-04-13 12:09:40 +02:00
Johannes Rieken
f1551be59e add xvfb test script 2017-04-13 12:08:10 +02:00
Joao Moreno
279a1110cd add comment back 2017-04-11 16:05:21 +02:00
João Moreno
e359d83c06 Merge pull request #21016 from flagello/escape_paths_code_bash_script
Escape paths in code.sh
2017-04-11 16:05:01 +02:00
Joao Moreno
c2d377c83b Merge branch 'escape_paths_install_bash_script' of https://github.com/flagello/vscode-essence into flagello-escape_paths_install_bash_script 2017-04-11 15:34:03 +02:00
Johannes Rieken
94f2804322 Revert "revert electron tests"
This reverts commit 119d2d4ba8.
2017-04-10 10:20:56 +02:00
Joao Moreno
119d2d4ba8 revert electron tests 2017-04-06 15:56:49 +02:00
Johannes Rieken
8a73c7d0b4 renames: test -> test-mocha and test-electron -> test 2017-04-04 17:03:39 +02:00
Alex Dima
c0b52655ba Fixes #23183: Cannot use mocha --run anymore 2017-03-24 22:27:14 +01:00
Rob Lourens
d55d499946 Reinstate textsearch perf test as integration test -
- fix its flakiness
- add test-int-mocha so .integrationTest.js files can be run separately from code.sh integration tests.
- make all.js support globs with --run
- Fix #22512
2017-03-22 14:48:49 -07:00
Benjamin Pasero
bb508d8eb1 USERDATADIR => VSCODEUSERDATADIR 2017-03-17 18:19:31 +01:00
Martin Aeschlimann
006c46e5ef Run integration tests on a new user data directory 2017-03-17 17:08:48 +01:00
Johannes Rieken
334fcb8e08 Merge branch 'master' into joh/electron4tests 2017-03-09 12:34:03 +01:00
Johannes Rieken
fc8dc29030 disableExtension during API tests 2017-03-07 17:29:22 +01:00
Rob Lourens
a3349f9cc4 Fix #20648 - run search tests as integration tests 2017-03-01 12:00:50 -08:00
Joao Moreno
58ec3f08c0 fixes #21576 2017-03-01 10:46:51 +01:00
William Esz
dd73aababe Escape paths (related to #21010) 2017-02-21 21:22:01 +01:00
William Esz
7e4b90e762 Escape paths to fix Microsoft/vscode#20907 2017-02-21 19:45:32 +01:00
Johannes Rieken
c3c6520f83 Merge branch 'master' into joh/electron4tests 2017-02-20 09:54:31 +01:00
Alex Dima
bccd4045eb Merge remote-tracking branch 'origin/master' into alex/minimap 2017-02-16 23:26:51 +01:00
Johannes Rieken
11d936d9e0 try unsetting env var 2017-02-16 17:03:47 +01:00
Johannes Rieken
8abe1dcdb7 add test script (win) 2017-02-16 15:26:48 +01:00
Johannes Rieken
bf8cc8aa76 add test script 2017-02-16 15:11:16 +01:00
Joao Moreno
175946ff27 fixes #20612 2017-02-15 11:16:48 +01:00
Alex Dima
9c856228a9 Faster minimap character rendering 2017-02-13 17:51:53 +01:00
Alex Dima
b795358075 Some perf tweaks 2017-02-01 06:59:32 -08:00
João Moreno
7de005132b fix windows cli output when exiting
fixes #17343
2017-01-25 16:33:15 +01:00
Mike Treit
4d6bccb661 Fix missing 'set' command that was causing a useless error. 2016-11-23 13:56:48 -08:00
Joao Moreno
9624568986 check electron version at dev time
fixes #15553
2016-11-17 11:15:08 +01:00
Joao Moreno
6796c10fe5 check electron version in code.sh: osx linux
#15553
2016-11-17 10:16:06 +01:00
Benjamin Pasero
97bef4bdc6 Update to electron 1.4.x (#15298)
* electron 1.4.6

* fix broken DND image feedback

* OSS input

* remove cat.exe as it is no longer needed

* update electron.d.ts

* set new ELECTRON_NO_ASAR environment for forked processes

* Automatically enable high contrast theme when enabled in Windows (fixes #15360)
2016-11-14 14:27:53 +01:00
Joao Moreno
c57061115c allow debugging cli process 2016-10-24 10:00:30 +02:00
Alex Dima
b00c572927 Fix missing copyright header 2016-10-21 09:38:14 +02:00
Alex Dima
fcbe48844e Add monaco-editor-setup script 2016-10-21 09:16:06 +02:00
Benjamin Pasero
8531bff95a Revert "Add monaco-editor-setup script"
This reverts commit 9e1b35badb.
2016-10-20 06:29:12 +02:00
Alex Dima
9e1b35badb Add monaco-editor-setup script 2016-10-19 18:56:31 +02:00
Alex Dima
5a54dad1ca I can't see the test output due to bad ANSI code handling 2016-09-21 11:52:47 +03:00
Benjamin Pasero
dff1153946 windows: dot reporter is better given our cat.exe workaround 2016-09-16 11:09:00 +02:00
Benjamin Pasero
605857e345 force colors when running mocha tests on windows 2016-09-16 08:33:02 +02:00
Benjamin Pasero
6fa85223ef Electron Update 1.x (#11157)
* use electron 1.3.4

* ATOM_SHELL_INTERNAL_RUN_AS_NODE => ELECTRON_RUN_AS_NODE

* OSS input

* update electron.d.ts

* workaround for #8708

* bump oniguruma and chokidar with custom fsevents

* build with appveyor config from master

* oops, still use ELECTRON_RUN_AS_NODE

* use electron 1.3.5

* optional fsevents

* add cat.exe to workaround output issues

* use cat for tests

* remove some now obsolete ELECTRON_NO_ATTACH_CONSOLE

* also pipe output to cat for code.sh on windows

* unset ELECTRON_RUN_AS_NODE for appveyor

* fix tfs builds?

* fix build

* fix build?

* use cat only when running tests locally
2016-09-14 07:29:20 +02:00
Benjamin Pasero
6a720e153e try to get output for tests on appveyor 2016-09-02 07:43:02 +02:00
Joao Moreno
84ccb059fa fix test launch script 2016-08-26 12:10:54 +02:00
Christof Marti
434e653295 Add VSCODE_DEV=1 2016-08-19 15:18:03 -07:00
Joao Moreno
06d8543173 its tough 2016-08-09 17:57:09 +02:00
Joao Moreno
a5bc5e2ee6 damn it 2016-08-09 17:56:12 +02:00
Joao Moreno
838ada3612 make code launchers specific on the flavor 2016-08-09 17:13:08 +02:00
João Moreno
b7a19b4224 adapt to code.exe 2016-08-09 17:11:07 +02:00
Joao Moreno
42832a3a68 fix code-cli 2016-08-09 16:25:29 +02:00
Joao Moreno
e0cddc8bc6 improve test script 2016-08-09 15:27:30 +02:00
Joao Moreno
a8e9286f46 fix build 2016-08-09 15:26:47 +02:00
João Moreno
312a53ef2c win32: customize plain electron for dev 2016-08-09 11:11:28 +02:00
Joao Moreno
3eafa6db3b linux: customize plain electron for dev 2016-08-09 10:30:51 +02:00
Joao Moreno
ebf9722e2e darwin: customize plain electron for dev 2016-08-09 10:14:00 +02:00
Joao Moreno
18beedd450 improve consistency in env sent to renderer procs
fixes #10194
2016-08-08 16:12:37 +02:00
Benjamin Pasero
0525466708 back to ATOM_SHELL_INTERNAL_RUN_AS_NODE 2016-07-08 16:12:10 +02:00
Benjamin Pasero
5d1affed4b ATOM_SHELL_INTERNAL_RUN_AS_NODE => ELECTRON_RUN_AS_NODE 2016-07-02 08:39:01 +02:00
Daniel Imms
23c927e387 Remove echo left in from last commit 2016-05-20 15:44:50 -07:00
Daniel Imms
b6095e9d85 Fix opening files with spaces via CLI on Linux
Fixes #6525
2016-05-20 15:42:44 -07:00
Johannes Rieken
aba7f12b1d remove pwd debug statement 2016-05-10 17:24:02 +02:00
Johannes Rieken
be5a691a36 dbk - cd to $ROOT 2016-05-10 16:42:51 +02:00
Johannes Rieken
4a782befbb dbk - add pwd to test.sh 2016-05-10 16:15:48 +02:00
Joao Moreno
cb9b185237 faster code.bat 2016-05-04 11:26:38 +02:00
Joao Moreno
1d5fdb1a03 earlier .build/electron test 2016-05-04 09:33:58 +02:00
Benjamin Pasero
8334c89462 set npm_config_runtime 2016-05-03 16:18:59 +02:00
Benjamin Pasero
da7d451328 specify runtime for npm install 2016-05-03 15:43:36 +02:00
Benjamin Pasero
c315e818c0 fix comment 2016-04-29 10:36:45 +02:00
Benjamin Pasero
1c5de53015 only set integration tests variables on appveyor? 2016-04-29 10:35:31 +02:00
Benjamin Pasero
ffc125aa51 unset "run as node" 2016-04-29 09:59:23 +02:00
Benjamin Pasero
0e9c89080c set ELECTRON_NO_ATTACH_CONSOLE=1 2016-04-29 09:44:54 +02:00
Alexandru Dima
a05cb186d7 Add test-integration.bat 2016-04-28 16:15:39 +02:00
Joao Moreno
9e6c1612c4 add code-cli.sh 2016-04-22 11:08:16 +02:00
Daniel Imms
e8f9d90b12 Have test.sh compile code if necessary
This removes the need to run ./scripts/code.sh first

Fixes #5587
2016-04-20 17:41:11 -07:00
Martin Aeschlimann
24dfa08f6f Theme tests as extension test 2016-04-08 23:26:12 +02:00
Joao Moreno
460783f343 split tests 2016-03-08 11:51:00 +01:00
Phillip Johnsen
a3e4855bcc Use local version of gulp in ./scripts/code.sh.
As with #3649 it removes the need for global installation of gulp.
This was already the case for the windows, in ./scripts/code.bat.
2016-03-03 20:50:12 +01:00
João Moreno
505e954a4f only disable console attachment when in TFS 2016-03-03 17:20:48 +01:00
Joao Moreno
2139bfece6 refactor 2016-03-03 11:26:05 +01:00
Joao Moreno
3249f6960e make batch file return non zero on test fail 2016-03-03 11:17:48 +01:00
Joao Moreno
d4083f3dac use ELECTRON_NO_ATTACH_CONSOLE 2016-03-03 11:00:56 +01:00
Joao Moreno
8c34045f0f use start 2016-03-03 10:50:52 +01:00
Joao Moreno
5705c820bb remove echo off from tests 2016-03-03 10:33:05 +01:00
João Moreno
5bf2ca9681 Merge pull request #3103 from jamesqo/patch-1
Forward arguments in the shell script correctly: use "$@" instead of $*
2016-02-18 17:12:46 +01:00
Alex Dima
3e78859e24 Don't leak env variables from batch files 2016-02-18 16:50:53 +01:00
James Ko
9a40a06a46 Forward arguments correctly: use "$@" instead of $*
Also added an exec to improve performance (which replaces the current process instead of spawning a subshell),
and changed the shebang to #!/usr/bin/env as this is best practice.
2016-02-18 00:47:09 -05:00
Joao Moreno
d46c0646f2 move back to ATOM_SHELL_INTERNAL_RUN_AS_NODE 2016-02-15 11:07:22 +01:00