DH_AUTO_TEST(1) Debhelper DH_AUTO_TEST(1)NAME
dh_auto_test - automatically runs a package's test suites
SYNOPSIS
dh_auto_test [buildsystemoptions] [debhelperoptions] [--params]
DESCRIPTION
dh_auto_test is a debhelper program that tries to automatically run a package's test suite. It does so by running the appropriate command
for the build system it detects the package uses. For example, if there's a Makefile and it contains a test or check target, then this is
done by running make (or MAKE, if the environment variable is set). If the test suite fails, the command will exit nonzero. If there's no
test suite, it will exit zero without doing anything.
This is intended to work for about 90% of packages with a test suite. If it doesn't work, you're encouraged to skip using dh_auto_test at
all, and just run the test suite manually.
OPTIONS
See "BUILD SYSTEM OPTIONS" in debhelper(7) for a list of common build system selection and control options.
-- params
Pass params to the program that is run, after the parameters that dh_auto_test usually passes.
NOTES
If the DEB_BUILD_OPTIONS environment variable contains nocheck, no tests will be performed.
SEE ALSO debhelper(7)
This program is a part of debhelper.
AUTHOR
Joey Hess <joeyh@debian.org>
11.1.6ubuntu2 2018-05-10 DH_AUTO_TEST(1)
Check Out this Related Man Page
DH_AUTO_TEST(1) Debhelper DH_AUTO_TEST(1)NAME
dh_auto_test - automatically runs a package's test suites
SYNOPSIS
dh_auto_test [buildsystemoptions] [debhelperoptions] [--params]
DESCRIPTION
dh_auto_test is a debhelper program that tries to automatically run a package's test suite. It does so by running the appropriate command
for the build system it detects the package uses. For example, if there's a Makefile and it contains a test or check target, then this is
done by running make (or MAKE, if the environment variable is set). If the test suite fails, the command will exit nonzero. If there's no
test suite, it will exit zero without doing anything.
This is intended to work for about 90% of packages with a test suite. If it doesn't work, you're encouraged to skip using dh_auto_test at
all, and just run the test suite manually.
OPTIONS
See "BUILD SYSTEM OPTIONS" in debhelper(7) for a list of common build system selection and control options.
-- params
Pass params to the program that is run, after the parameters that dh_auto_test usually passes.
NOTES
If the DEB_BUILD_OPTIONS environment variable contains nocheck, no tests will be performed.
SEE ALSO debhelper(7)
This program is a part of debhelper.
AUTHOR
Joey Hess <joeyh@debian.org>
11.1.6ubuntu2 2018-05-10 DH_AUTO_TEST(1)
Hi,
Not really sure whether this question should go to this forum but am giving it a shot.
I have compiled a simple C program test.c.
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
static int a;
int test()
{
a=a+1;
return a;
}
When I run a make command, I get this:
... (2 Replies)
Hi,
This is Vasikaran, I am just trying to run the if command using this test program, but while running , i am getting the syntax error as
"syntax error: unexpected end of file"
this is the test program
******************
echo " enter number"
read num
echo "Enter the choice of you... (7 Replies)
Hi ,
I am begginer to UNIX. when i want to run korn shell script i run ./test.sh and then enter it would run. But when i run test.sh and enter it would not run. What setting or enviorment variable i would change in order to run with out giving ./ to run any shell script.
Thanks in adavance
... (5 Replies)
Hi,
I have a c test program which test dlopen call. This program run well on solaris but fails on hp-ux.
The program load jvm library successfully on solaris. On hp-ux it displays error
I compile this program as
$cc -o testjvm testjvm.c
What am I missing? I have tried... (2 Replies)
Hey ppl,
I've been asked to automate the build and test process for my team at office.we work on Linux and use Perforce for SCM. I've just joined this company and dont have much knowledge on unix scripts. Could someone tell me how to go about doing this? (0 Replies)
Hey ppl,
I've been asked to automate the build and test process for my team at office.we work on Linux and use Perforce for SCM. I've just joined this company and dont have much knowledge on unix scripts. Could someone tell me how to go about doing this?:confused: (8 Replies)
I am running a test command and if the user is not found you have to type exit and it wiil exit. Ok I did that. But if the user is found it is supposed to finger them. But my problem is it makes you type exit first then it fingers them. Why? whats wrong?
if
then
error_fn
else
echo... (1 Reply)
--------------------------------------------------------------------------------
I am running a test command and if the user is not found you have to type exit and it wiil exit. Ok I did that. But if the user is found it is supposed to finger them. But my problem is it makes you type exit first... (2 Replies)
I'm trying to test and see whether a variable that is being extracted from a line in a file is numeric or not. I have tried everything that I can think of and I cannot figure out how to get it to work. I am trying to test and see if the string extracted contains 5 numeric digits. This is what I... (8 Replies)
Hi,
I have a SunFire 280R abd when I boot it there is a hardware check running and it fails. Here is a long output of the test
rsc> poweron
Are you sure you want to turn your system power on (Yes/No)? yes
rsc> console
RSC Alert: Host System has Reset
@(#)OBP 4.5.10 2002/02/11 10:39... (2 Replies)
$ sudo -l
User test may run the following commands on this host:
(ALL) ALL
$ sudo ls /root
anaconda-ks.cfg Desktop install.log.syslog l.of page.html VTune
cpi ex intel mpd.hosts #te.c# ... (4 Replies)
All,
I am getting error when run file check with test operator . Why is it showing the error
if
then
echo 'file found'
fi
ksh: -r: unknown test operator
I know i can use the below code to test the file but why the above is not working
if test -r filename
... (3 Replies)
Hi there.
First things first, this is nothing to do with the internet or ISP speed, I know what that is, I know what it's doing.
I have a cluster of 128 single board computers running a branch of Debian. I want to run some kind of stress test to ensure they can transfer data (a) to each... (2 Replies)