Permalink
Browse files

Move sauce-platforms to the config directory.

  • Loading branch information...
1 parent ddbae38 commit fce47306e593e57b3f6aa44c3cbd99f7602306c7 @shane-tomlinson shane-tomlinson committed Nov 15, 2012
@@ -30,7 +30,7 @@ Set some more environment variables:
* specify sauce api key as `PERSONA_SAUCE_APIKEY` (in persona-secrets bundle for mozilla identity devs)
* specify your sauce browser and OS combo as `PERSONA_BROWSER`
* current list: `linux_firefox_13`, `linux_opera_12`, `osx_firefox_14`, `vista_chrome`, `vista_firefox_13`, `vista_ie_9`, `xp_ie_8`
- * the list is in lib/sauce-platforms.js
+ * the list is in config/sauce-platforms.js
* You can temporarily force a local browser run with `PERSONA_NO_SAUCE`. If you do this, make sure `PERSONA_BROWSER` is set to something that can be run locally.
Then run the tests just like you would locally:
@@ -2,7 +2,7 @@ const
personatestuser = require('../lib/personatestuser.js'),
Q = require('q'),
restmail = require('../lib/restmail.js'),
-saucePlatforms = require('./sauce-platforms.js'),
+saucePlatforms = require('../config/sauce-platforms.js'),
wd = require('wd'),
path = require('path'),
_ = require('underscore');
@@ -14,7 +14,7 @@
* should be tested.
*/
-const outputFormats = ["console", "json", "xunit"];
+const outputFormats = ["console", "json", "xunit"];
var argv = require('optimist')
@@ -81,7 +81,7 @@ const path = require('path'),
vows_path = path.join(__dirname, "../node_modules/.bin/vows"),
vows_args = [(args.output === 'xunit') ? "--xunit" : "--json", "-i"],
result_extension = process.env.RESULT_EXTENSION || "xml",
- supported_platforms = require('../lib/sauce-platforms').platforms,
+ supported_platforms = require('../config/sauce-platforms').platforms,
start_time = new Date().getTime(),
glob = require('minimatch');
@@ -235,7 +235,7 @@ function startTesting() {
}
var stdOutReporter = null;
- if (args.output === 'xunit') {
+ if (args.output === 'xunit') {
stdOutReporter = new FileReporter({
output_path: outputPath
});

0 comments on commit fce4730

Please sign in to comment.