UNIT TESTING trueprint

commandline session

$ls
acconfig.h  bootstrap  config.cache  config.log     configure.in  INSTALL      Makefile.in  replace  stamp-h1.in
aclocal.m4  ChangeLog  config.h      config.status  COPYING	  Makefile     NEWS	    src      stamp-h2.in
AUTHORS     config     config.h.in   configure	    doc		  Makefile.am  README	    stamp-h  tests
$make check
Makefile:122: warning: overriding commands for target `config.h'
Makefile:103: warning: ignoring old commands for target `config.h'
Makefile:132: warning: overriding commands for target `config.h.in'
Makefile:113: warning: ignoring old commands for target `config.h.in'
Making check in replace
make[1]: Entering directory `/home/jeffrin/unit.test/trueprint-5.3/replace'
rm -f libreplace.a
ar cru libreplace.a
ranlib libreplace.a
make[1]: Leaving directory `/home/jeffrin/unit.test/trueprint-5.3/replace'
Making check in src
make[1]: Entering directory `/home/jeffrin/unit.test/trueprint-5.3/src'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I..   -DPRINTERS_FILE="/usr/local/lib/printers" -g -O2 -c debug.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I..   -DPRINTERS_FILE="/usr/local/lib/printers" -g -O2 -c index.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I..   -DPRINTERS_FILE="/usr/local/lib/printers" -g -O2 -c lang_verilog.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I..   -DPRINTERS_FILE="/usr/local/lib/printers" -g -O2 -c lang_perl.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I..   -DPRINTERS_FILE="/usr/local/lib/printers" -g -O2 -c postscript.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I..   -DPRINTERS_FILE="/usr/local/lib/printers" -g -O2 -c diffs.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I..   -DPRINTERS_FILE="/usr/local/lib/printers" -g -O2 -c input.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I..   -DPRINTERS_FILE="/usr/local/lib/printers" -g -O2 -c language.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I..   -DPRINTERS_FILE="/usr/local/lib/printers" -g -O2 -c lang_pike.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I..   -DPRINTERS_FILE="/usr/local/lib/printers" -g -O2 -c print_prompt.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I..   -DPRINTERS_FILE="/usr/local/lib/printers" -g -O2 -c expand_str.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I..   -DPRINTERS_FILE="/usr/local/lib/printers" -g -O2 -c lang_c.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I..   -DPRINTERS_FILE="/usr/local/lib/printers" -g -O2 -c main.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I..   -DPRINTERS_FILE="/usr/local/lib/printers" -g -O2 -c lang_report.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I..   -DPRINTERS_FILE="/usr/local/lib/printers" -g -O2 -c printers_fl.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I..   -DPRINTERS_FILE="/usr/local/lib/printers" -g -O2 -c getopt.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I..   -DPRINTERS_FILE="/usr/local/lib/printers" -g -O2 -c lang_cxx.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I..   -DPRINTERS_FILE="/usr/local/lib/printers" -g -O2 -c openpipe.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I..   -DPRINTERS_FILE="/usr/local/lib/printers" -g -O2 -c lang_sh.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I..   -DPRINTERS_FILE="/usr/local/lib/printers" -g -O2 -c getopt1.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I..   -DPRINTERS_FILE="/usr/local/lib/printers" -g -O2 -c lang_java.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I..   -DPRINTERS_FILE="/usr/local/lib/printers" -g -O2 -c options.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I..   -DPRINTERS_FILE="/usr/local/lib/printers" -g -O2 -c utils.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I..   -DPRINTERS_FILE="/usr/local/lib/printers" -g -O2 -c headers.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I..   -DPRINTERS_FILE="/usr/local/lib/printers" -g -O2 -c lang_text.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I..   -DPRINTERS_FILE="/usr/local/lib/printers" -g -O2 -c lang_pascal.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I..   -DPRINTERS_FILE="/usr/local/lib/printers" -g -O2 -c output.c
gcc -DPRINTERS_FILE="/usr/local/lib/printers" -g -O2  -o trueprint  debug.o index.o lang_verilog.o lang_perl.o postscript.o diffs.o input.o language.o lang_pike.o print_prompt.o expand_str.o lang_c.o main.o lang_report.o printers_fl.o getopt.o lang_cxx.o openpipe.o lang_sh.o getopt1.o lang_java.o options.o utils.o headers.o lang_text.o lang_pascal.o output.o
make[1]: Leaving directory `/home/jeffrin/unit.test/trueprint-5.3/src'
Making check in doc
make[1]: Entering directory `/home/jeffrin/unit.test/trueprint-5.3/doc'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/home/jeffrin/unit.test/trueprint-5.3/doc'
Making check in tests
make[1]: Entering directory `/home/jeffrin/unit.test/trueprint-5.3/tests'
make  check-TESTS
make[2]: Entering directory `/home/jeffrin/unit.test/trueprint-5.3/tests'
top_builddir = ..
srcdir = .
1 Single C source file... passed
2 Two C source files... passed
3 Text file followed by C source file... passed
4 Diff of two files... passed
5 Diff of two files with long options... passed
6 Another diff of two files... passed
7 Another diff of two files with long options... passed
8 Diffs using a prefix... passed
9 Diffs using a prefix with long options... passed
10 Very long source line... passed
11 Set interline gap & pointsize & page length -g -p -l... passed
12 Set interline gap & pointsize & page length with long options... passed
13 Change date & time in headers -X... passed
14 Change date & time in headers with long options... passed
15 Use login name in headers -X %l... passed
16 Use login name in headers --left-header=%l... passed
17 Print message over page -m... passed
18 Print message over page --message... passed
19 Use current filename for message string -m %n... passed
20 Use current filename for message string --message %n... passed
21 Use landscape mode -ol... passed
22 Use landscape mode with long option... passed
23 Print 2-on-1 -2... passed
24 Print 2-on-1 --two-up... passed
25 Print 4-on-1 -4... passed
26 Print 4-on-1 --four-up... passed
27 Long lines & page width -w... passed
28 Long lines & page width --line-wrap... passed
29 Turn off intelligent linewrap -Wn... passed
30 Turn off intelligent linewrap with long options... passed
31 Exclude braces depth count for C, line number count -in -nn... passed
32 Exclude braces depth count for C, line number count with long options... passed
33 Print double-sided -S2... passed
34 Print double-sided --double-sided... passed
35 Suppress everything -C -F -f -B... passed
36 Suppress everything using long options... passed
37 Set tabsize wierdly -T5... passed
38 Set tabsize wierdly using long option... passed
39 Set headers/footers... passed
40 Set headers/footers using long options... passed
41 Indent for holepunch --I... passed
42 Indent for holepunch using long options... passed
43 Suppress headers --K... passed
44 Suppress headers using long options... passed
45 Suppress footers --k... passed
46 Suppress footers using long options... passed
47 Stdin for default... passed
48 - for stdin... passed
49 No new sheet for new filepassed
49 out of 49 tests passed
To complete the test, print a file using trueprint
PASS: Run
==================
All 1 tests passed
==================
make[2]: Leaving directory `/home/jeffrin/unit.test/trueprint-5.3/tests'
make[1]: Leaving directory `/home/jeffrin/unit.test/trueprint-5.3/tests'
make[1]: Entering directory `/home/jeffrin/unit.test/trueprint-5.3'
Makefile:122: warning: overriding commands for target `config.h'
Makefile:103: warning: ignoring old commands for target `config.h'
Makefile:132: warning: overriding commands for target `config.h.in'
Makefile:113: warning: ignoring old commands for target `config.h.in'
cd . 
	  && CONFIG_FILES= CONFIG_HEADERS=config.h 
	     /bin/sh ./config.status
creating config.h
config.h is unchanged
cd . 
	  && CONFIG_FILES= CONFIG_HEADERS=config.h 
	     /bin/sh ./config.status
creating config.h
config.h is unchanged
make[1]: Leaving directory `/home/jeffrin/unit.test/trueprint-5.3'
$

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s