Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dh_auto_test(1) [v7 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)

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)
Man Page

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

enviorment variable

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)
Discussion started by: sam70
5 Replies

2. HP-UX

test program(dlopen) fails on hp but run well on solaris

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)
Discussion started by: shriashishpatil
2 Replies

3. Shell Programming and Scripting

Automating build and test process

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)
Discussion started by: laxmi
0 Replies

4. Linux

Automating build and test process

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)
Discussion started by: laxmi
8 Replies

5. UNIX for Dummies Questions & Answers

test

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)
Discussion started by: skooly5
1 Replies

6. Linux

running test

-------------------------------------------------------------------------------- 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)
Discussion started by: skooly5
2 Replies

7. UNIX for Dummies Questions & Answers

Ksh How to test if variable is numeric??

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)
Discussion started by: developncode
8 Replies

8. UNIX for Dummies Questions & Answers

why sudo doesn't work?

$ 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)
Discussion started by: cqlouis
4 Replies

9. UNIX for Advanced & Expert Users

if and test not working

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)
Discussion started by: arunkumar_mca
3 Replies

10. UNIX for Beginners Questions & Answers

Network stress test.

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)
Discussion started by: MuntyScrunt
2 Replies