File tree 6 files changed +43
-2
lines changed
6 files changed +43
-2
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ manifest.appcache
41
41
/profile-test /
42
42
/profile-gaia-test-b2g /
43
43
/profile-gaia-test-firefox /
44
+ /profile-raptor /
44
45
/profile.tar.gz
45
46
/b2g_sdk /
46
47
/tools /test-agent /node_modules
@@ -52,6 +53,7 @@ manifest.appcache
52
53
/build_stage /
53
54
/coverage /
54
55
/local.mk
56
+ /raptor.log
55
57
56
58
/tools /xpcwindow /vendor /
57
59
@@ -61,6 +63,7 @@ manifest.appcache
61
63
/node_modules /
62
64
/.modules.tar
63
65
ENV /
66
+ .env
64
67
modules.tar
65
68
mozilla-b2g-gaia-node-modules- *
66
69
/git-gaia-node-modules /
Original file line number Diff line number Diff line change @@ -782,6 +782,10 @@ test-perf:
782
782
REPORTER=$(REPORTER ) \
783
783
./bin/gaia-perf-marionette
784
784
785
+ .PHONY : raptor
786
+ raptor : node_modules
787
+ NO_LOCK_SCREEN=1 NOFTU=1 SCREEN_TIMEOUT=0 GAIA_DISTRIBUTION_DIR=node_modules/gaia-raptor/dist PROFILE_FOLDER=profile-raptor make reset-gaia
788
+
785
789
.PHONY : tests
786
790
tests : app offline
787
791
echo " Checking if the mozilla build has tests enabled..."
@@ -1023,7 +1027,7 @@ endif
1023
1027
1024
1028
# clean out build products
1025
1029
clean :
1026
- rm -rf profile profile-debug profile-test profile-gaia-test-b2g profile-gaia-test-firefox $(PROFILE_FOLDER ) $(STAGE_DIR ) docs minidumps
1030
+ rm -rf profile profile-debug profile-test profile-gaia-test-b2g profile-gaia-test-firefox profile-raptor $(PROFILE_FOLDER ) $(STAGE_DIR ) docs minidumps
1027
1031
1028
1032
# clean out build products and tools
1029
1033
really-clean : clean
Original file line number Diff line number Diff line change 1
- 5d3091a0c3bb50ea51c753806cff7edcc184ab6e
1
+ 580c7090140eca853def29bf96b1067fe6a6dddc
Original file line number Diff line number Diff line change 17
17
"empty-port" : " ~0.0.1" ,
18
18
"fe.js" : " ~0.1.4" ,
19
19
"ffi-prebuilt" : " ~1.2.6" ,
20
+ "gaia-raptor" : " 0.1.2" ,
20
21
"grunt" : " 0.4.2" ,
21
22
"grunt-contrib-clean" : " 0.5.0" ,
22
23
"grunt-jsdoc" : " 0.5.1" ,
Original file line number Diff line number Diff line change
1
+ 'use strict' ;
2
+
3
+ var raptor = require ( 'gaia-raptor' ) ;
4
+
5
+ var options = {
6
+ phase : 'reboot' ,
7
+ runs : 1
8
+ } ;
9
+
10
+ raptor ( options , function ( runner ) {
11
+
12
+ runner . on ( 'run' , function ( next ) {
13
+ next ( ) ;
14
+ } ) ;
15
+
16
+ } ) ;
Original file line number Diff line number Diff line change
1
+ 'use strict' ;
2
+
3
+ var raptor = require ( 'gaia-raptor' ) ;
4
+
5
+ var options = {
6
+ phase : 'cold' ,
7
+ runs : 1 ,
8
+ apps : [ ]
9
+ } ;
10
+
11
+ raptor ( options , function ( runner ) {
12
+
13
+ runner . on ( 'run' , function ( next ) {
14
+ runner . closeApp ( ) . then ( next ) ;
15
+ } ) ;
16
+
17
+ } ) ;
You can’t perform that action at this time.
0 commit comments