Run the tools/test files under the test harness
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
#!/usr/bin/perl
|
||||
|
||||
use FindBin qw($Bin);
|
||||
use lib "$Bin/../../../../lib/perl";
|
||||
|
||||
use Test::More tests => 9;
|
||||
|
||||
use DBD::Breaktable;
|
||||
@@ -1,5 +1,8 @@
|
||||
#!/usr/bin/perl
|
||||
|
||||
use FindBin qw($Bin);
|
||||
use lib "$Bin/../../../../lib/perl";
|
||||
|
||||
use Test::More tests => 18;
|
||||
|
||||
use DBD;
|
||||
@@ -1,5 +1,8 @@
|
||||
#!/usr/bin/perl
|
||||
|
||||
use FindBin qw($Bin);
|
||||
use lib "$Bin/../../../../lib/perl";
|
||||
|
||||
use Test::More tests => 16;
|
||||
|
||||
use DBD::Device;
|
||||
@@ -1,5 +1,8 @@
|
||||
#!/usr/bin/perl
|
||||
|
||||
use FindBin qw($Bin);
|
||||
use lib "$Bin/../../../../lib/perl";
|
||||
|
||||
use Test::More tests => 2;
|
||||
|
||||
use DBD::Driver;
|
||||
@@ -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
26
src/tools/test/Makefile
Normal 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
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
#!/usr/bin/perl
|
||||
|
||||
use FindBin qw($Bin);
|
||||
use lib "$Bin/../../../../lib/perl";
|
||||
|
||||
use Test::More tests => 14;
|
||||
|
||||
use DBD::Menu;
|
||||
@@ -1,5 +1,8 @@
|
||||
#!/usr/bin/perl
|
||||
|
||||
use FindBin qw($Bin);
|
||||
use lib "$Bin/../../../../lib/perl";
|
||||
|
||||
use Test::More tests => 76;
|
||||
|
||||
use DBD::Recfield;
|
||||
@@ -1,5 +1,8 @@
|
||||
#!/usr/bin/perl
|
||||
|
||||
use FindBin qw($Bin);
|
||||
use lib "$Bin/../../../../lib/perl";
|
||||
|
||||
use Test::More tests => 17;
|
||||
|
||||
use DBD::Recordtype;
|
||||
@@ -1,5 +1,8 @@
|
||||
#!/usr/bin/perl
|
||||
|
||||
use FindBin qw($Bin);
|
||||
use lib "$Bin/../../../../lib/perl";
|
||||
|
||||
use Test::More tests => 2;
|
||||
|
||||
use DBD::Registrar;
|
||||
@@ -1,5 +1,8 @@
|
||||
#!/usr/bin/perl
|
||||
|
||||
use FindBin qw($Bin);
|
||||
use lib "$Bin/../../../../lib/perl";
|
||||
|
||||
use Test::More tests => 4;
|
||||
|
||||
use DBD::Variable;
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user