Auto-tools/Projects/CrossWeave/Running CrossWeave: Difference between revisions

No edit summary
Line 48: Line 48:
   
   
  Options:
  Options:
  -h, --help            show this help message and exit
  -h, --help            show this help message and exit
  --test-file=TESTFILE  path to the test file to run [default: test.json]
  --post-results        post the test results to the url defined in the config
  --log-file=LOGFILE    path to the log file [default: crossweave.log]
                        file
  --binary=BINARY      path to the Firefox binary; if omitted, the PATH will
  --continuous          when --xpi-path is not specified, keep runningtests
                        be searched
                        each time a new commit is detected
  --xpi-path=XPIPATH    directory containing the Weave XPI [default: .]
  --test-file=TESTFILE  path to the test file to run [default: sync.test]
  --config-file=CONFIGFILE
  --log-file=LOGFILE    path to the log file [default: crossweave.log]
                        path to the config file to use [default: config.json]
  --binary=BINARY      path to the Firefox binary; if omitted, the PATH will
                        be searched
  --xpi-path=XPIPATH    directory containing the Weave XPI [default: none]
  --config-file=CONFIGFILE
                        path to the config file to use [default: config.txt]
  --manifest=MANIFEST  path to the test manifest file which lists tests to be
                        run [default: none]


With no arguments, assuming that the weave XPI is in the CrossWeave folder, CrossWeave will run the test 'test.json' using the system's default Firefox version, and write a log to crossweave.log in the CrossWeave folder.
With no arguments, CrossWeave will sync the latest Sync code from http://hg.mozilla.org/services/fx-sync, will run the test 'sync.test' using the system's default Firefox version, and write a log to crossweave.log in the CrossWeave folder.


While a test is running, CrossWeave will open and close Firefox once for each phase.  You can work in other open Firefox windows while this is occurring, but don't work in the window opened by CrossWeave.
While a test is running, CrossWeave will open and close Firefox once for each phase.  You can work in other open Firefox windows while this is occurring, but don't work in the window opened by CrossWeave.
Confirmed users
1,905

edits