Skip to content

Commit 5e7136b

Browse files
author
Rob Wood
committed
Bug 1121187 - Develop raptor restart-b2g test
1 parent 0cf5170 commit 5e7136b

File tree

3 files changed

+19
-2
lines changed

3 files changed

+19
-2
lines changed

gaia_node_modules.revision

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
611fa8ac35064933a67135d79b5fd921f426e3bc
1+
25756ef8ae9cb1e9a0c9bc893612bb8334af3ccf

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"empty-port": "~0.0.1",
1818
"fe.js": "~0.1.4",
1919
"ffi-prebuilt": "~1.2.6",
20-
"gaia-raptor": "0.4.2",
20+
"gaia-raptor": "0.5.0",
2121
"grunt": "0.4.2",
2222
"grunt-contrib-clean": "0.5.0",
2323
"grunt-jsdoc": "0.5.1",

tests/raptor/restart_b2g_test.js

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
'use strict';
2+
3+
var raptor = require('gaia-raptor');
4+
5+
var options = {
6+
phase: 'restart-b2g',
7+
runs: 1,
8+
timeout: 300 * 1000
9+
};
10+
11+
raptor(options, function(runner) {
12+
13+
runner.on('run', function(next) {
14+
next();
15+
});
16+
17+
});

0 commit comments

Comments
 (0)