annotate _test/run_tests.pl @ 31:d59526f6310e

Small fixes to Test framework (correct handlinf of the compilation errors in the test units) Imported and refactored SQL DB schema from the old project
author Sergey
date Mon, 09 Nov 2009 01:39:16 +0300
parents 818c74b038ae
children 16ada169ca75
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
e59f44f75f20 DOM - в разработке
Sergey
parents:
diff changeset
1 #!/usr/bin/perl
e59f44f75f20 DOM - в разработке
Sergey
parents:
diff changeset
2 use strict;
e59f44f75f20 DOM - в разработке
Sergey
parents:
diff changeset
3 use warnings;
e59f44f75f20 DOM - в разработке
Sergey
parents:
diff changeset
4
18
818c74b038ae DOM Schema + tests
Sergey
parents: 4
diff changeset
5 use lib '../Lib';
818c74b038ae DOM Schema + tests
Sergey
parents: 4
diff changeset
6 use lib '.';
818c74b038ae DOM Schema + tests
Sergey
parents: 4
diff changeset
7
4
e59f44f75f20 DOM - в разработке
Sergey
parents:
diff changeset
8 use IMPL::Test::HarnessRunner;
e59f44f75f20 DOM - в разработке
Sergey
parents:
diff changeset
9 use IMPL::Test::Straps;
e59f44f75f20 DOM - в разработке
Sergey
parents:
diff changeset
10
e59f44f75f20 DOM - в разработке
Sergey
parents:
diff changeset
11 my $runner = new IMPL::Test::HarnessRunner(
e59f44f75f20 DOM - в разработке
Sergey
parents:
diff changeset
12 Strap => new IMPL::Test::Straps ()
e59f44f75f20 DOM - в разработке
Sergey
parents:
diff changeset
13 );
e59f44f75f20 DOM - в разработке
Sergey
parents:
diff changeset
14
e59f44f75f20 DOM - в разработке
Sergey
parents:
diff changeset
15 $runner->Strap->Executors(
e59f44f75f20 DOM - в разработке
Sergey
parents:
diff changeset
16 {
e59f44f75f20 DOM - в разработке
Sergey
parents:
diff changeset
17 Re => '.*',
e59f44f75f20 DOM - в разработке
Sergey
parents:
diff changeset
18 Executor => $runner->Strap
e59f44f75f20 DOM - в разработке
Sergey
parents:
diff changeset
19 }
e59f44f75f20 DOM - в разработке
Sergey
parents:
diff changeset
20 );
e59f44f75f20 DOM - в разработке
Sergey
parents:
diff changeset
21
e59f44f75f20 DOM - в разработке
Sergey
parents:
diff changeset
22 $runner->RunTests(<*.t>);
e59f44f75f20 DOM - в разработке
Sergey
parents:
diff changeset
23
e59f44f75f20 DOM - в разработке
Sergey
parents:
diff changeset
24 1;