Commit graph

66 commits

Author SHA1 Message Date
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
Joao Moreno 4821ad5f43 use ELECTRON_RUN_AS_NODE 2016-02-12 12:43:24 +01:00
xzper 8a850be7fc replace powershell with findstr 2016-01-20 13:27:52 +08:00