Skip to content
This repository has been archived by the owner on May 10, 2019. It is now read-only.

Commit

Permalink
Move sauce-platforms to the config directory.
Browse files Browse the repository at this point in the history
  • Loading branch information
Shane Tomlinson committed Nov 15, 2012
1 parent ddbae38 commit fce4730
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion automation-tests/README.md
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion automation-tests/lib/test-setup.js
Expand Up @@ -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');
Expand Down
6 changes: 3 additions & 3 deletions automation-tests/scripts/run-all.js
Expand Up @@ -14,7 +14,7 @@
* should be tested.
*/

const outputFormats = ["console", "json", "xunit"];
const outputFormats = ["console", "json", "xunit"];


var argv = require('optimist')
Expand Down Expand Up @@ -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');

Expand Down Expand Up @@ -235,7 +235,7 @@ function startTesting() {
}

var stdOutReporter = null;
if (args.output === 'xunit') {
if (args.output === 'xunit') {
stdOutReporter = new FileReporter({
output_path: outputPath
});
Expand Down

0 comments on commit fce4730

Please sign in to comment.