root/1.8.3/tags/p6/test/runtest.pl

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

Merge with devel

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