Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 147f033

Browse filesBrowse files
committed
Ensure the firefox binary is used in tests when it is specified
1 parent 0afdfdb commit 147f033
Copy full SHA for 147f033

1 file changed

+5-1Lines changed: 5 additions & 1 deletion

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎test/firefox.sh‎

Copy file name to clipboardExpand all lines: test/firefox.sh
+5-1Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,11 @@ if [ "$1" == "--justrun" ]; then
7373
fi
7474
else
7575
echo "running tests"
76-
$XVFB_RUN cfx test --profiledir="$PROFILE_DIRECTORY" --verbose
76+
if [ -n "$FIREFOX" ]; then
77+
$XVFB_RUN cfx test -b $FIREFOX --profiledir="$PROFILE_DIRECTORY" --verbose
78+
else
79+
$XVFB_RUN cfx test --profiledir="$PROFILE_DIRECTORY" --verbose
80+
fi
7781
fi
7882

7983
popd

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.