Run the tools/test files under the test harness

This commit is contained in:
Andrew Johnson
2012-03-14 15:27:40 -05:00
parent d3d8418855
commit 116f0fd00c
13 changed files with 60 additions and 1 deletions

View File

@@ -15,6 +15,9 @@ include $(TOP)/configure/CONFIG
DIRS += tools
DIRS += tools/test
tools/test_DEPEND_DIRS = tools
DIRS += template/base
template/base_DEPEND_DIRS = tools

View File

@@ -1,5 +1,8 @@
#!/usr/bin/perl
use FindBin qw($Bin);
use lib "$Bin/../../../../lib/perl";
use Test::More tests => 9;
use DBD::Breaktable;

View File

@@ -1,5 +1,8 @@
#!/usr/bin/perl
use FindBin qw($Bin);
use lib "$Bin/../../../../lib/perl";
use Test::More tests => 18;
use DBD;

View File

@@ -1,5 +1,8 @@
#!/usr/bin/perl
use FindBin qw($Bin);
use lib "$Bin/../../../../lib/perl";
use Test::More tests => 16;
use DBD::Device;

View File

@@ -1,5 +1,8 @@
#!/usr/bin/perl
use FindBin qw($Bin);
use lib "$Bin/../../../../lib/perl";
use Test::More tests => 2;
use DBD::Driver;

View File

@@ -1,5 +1,8 @@
#!/usr/bin/perl
use FindBin qw($Bin);
use lib "$Bin/../../../../lib/perl";
use Test::More tests => 2;
use DBD::Function;

26
src/tools/test/Makefile Normal file
View File

@@ -0,0 +1,26 @@
#*************************************************************************
# Copyright (c) 2012 UChicago Argonne LLC, as Operator of Argonne
# National Laboratory.
# EPICS BASE is distributed subject to a Software License Agreement found
# in the file LICENSE that is included with this distribution.
#*************************************************************************
TOP=../../..
include $(TOP)/configure/CONFIG
TESTS += Breaktable
TESTS += DBD
TESTS += Device
TESTS += Driver
TESTS += Function
TESTS += macLib
TESTS += Menu
TESTS += Recfield
TESTS += Recordtype
TESTS += Registrar
TESTS += Variable
TESTSCRIPTS_HOST += $(TESTS:%=%.t)
include $(TOP)/configure/RULES

View File

@@ -1,5 +1,8 @@
#!/usr/bin/perl
use FindBin qw($Bin);
use lib "$Bin/../../../../lib/perl";
use Test::More tests => 14;
use DBD::Menu;

View File

@@ -1,5 +1,8 @@
#!/usr/bin/perl
use FindBin qw($Bin);
use lib "$Bin/../../../../lib/perl";
use Test::More tests => 76;
use DBD::Recfield;

View File

@@ -1,5 +1,8 @@
#!/usr/bin/perl
use FindBin qw($Bin);
use lib "$Bin/../../../../lib/perl";
use Test::More tests => 17;
use DBD::Recordtype;

View File

@@ -1,5 +1,8 @@
#!/usr/bin/perl
use FindBin qw($Bin);
use lib "$Bin/../../../../lib/perl";
use Test::More tests => 2;
use DBD::Registrar;

View File

@@ -1,5 +1,8 @@
#!/usr/bin/perl
use FindBin qw($Bin);
use lib "$Bin/../../../../lib/perl";
use Test::More tests => 4;
use DBD::Variable;

View File

@@ -1,7 +1,7 @@
#!/usr/bin/perl
use FindBin qw($Bin);
use lib "$Bin/../../../lib/perl";
use lib "$Bin/../../../../lib/perl";
use Test::More tests => 34;