Skip to content
This repository has been archived by the owner on Aug 4, 2022. It is now read-only.

Commit

Permalink
Bug 1127943 - Make testharness.js the default template for gen_templa…
Browse files Browse the repository at this point in the history
…te.pl; r=bz (NPOTB, DONTBUILD)
  • Loading branch information
Ms2ger committed Jan 30, 2015
1 parent 59dfbe7 commit b81004a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions testing/mochitest/gen_template.pl
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
# It takes two arguments:
#
# -b: a bugnumber
# -type: template type. One of {html|xhtml|xul|th|chrome|chromexul}.
# Defaults to html.
# -type: template type. One of {plain|xhtml|xul|th|chrome|chromexul}.
# Defaults to th (testharness.js).
#
# For example, this command:
#
Expand All @@ -28,10 +28,10 @@
$template_type = "$FindBin::RealBin/static/chrome.template.txt";
} elsif ($template_type eq "chromexul") {
$template_type = "$FindBin::RealBin/static/chromexul.template.txt";
} elsif ($template_type eq "th") {
$template_type = "$FindBin::RealBin/static/th.template.txt";
} else {
} elsif ($template_type eq "plain") {
$template_type = "$FindBin::RealBin/static/test.template.txt";
} else {
$template_type = "$FindBin::RealBin/static/th.template.txt";
}

open(IN,$template_type) or die("Failed to open myfile for reading.");
Expand Down

0 comments on commit b81004a

Please sign in to comment.