PennMUSH Community

root/1.8.3/trunk/test/runtest.pl

Revision 1117, 378 bytes (checked in by shawnw, 11 months ago)

Merge with devel

Line 
1 #!/usr/bin/perl -w
2 use strict;
3 use PennMUSH;
4 use TestHarness;
5
6
7
8 my $mush = PennMUSH->new;
9
10 my @tests = map { TestHarness->new($_); } @ARGV;
11
12 my $god = $mush->loginGod;
13 my $mortal = undef;
14 if ($TestHarness::use_mortal) {
15     $god->command('@pcreate Mortal=mortal');
16     $mortal = $mush->login("Mortal", "mortal");
17 }
18
19 foreach my $test (@tests) {
20     $test->run($god, $mortal);
21 }
Note: See TracBrowser for help on using the browser.