~ubuntu-branches/ubuntu/saucy/gengetopt/saucy-proposed

« back to all changes in this revision

Viewing changes to tests/Makefile.am

  • Committer: Package Import Robot
  • Author(s): Alessio Treglia
  • Date: 2013-05-09 12:48:17 UTC
  • mfrom: (16.1.1 experimental)
  • Revision ID: package-import@ubuntu.com-20130509124817-ex5jkvyh7cu8o22c
Tags: 2.22.6-2
* Upload to unstable.
* Fix VCS URLs.
* Bump Standards.

Show diffs side-by-side

added added

removed removed

Lines of Context:
174
174
test_values_cmd_cc.cc: test_values_cmd.c
175
175
test_redef_help_cmd.h: test_redef_help_cmd.c
176
176
test_manual_help_cmd.h: test_manual_help_cmd.c
 
177
test_manual_help_args_cmd.h: test_manual_help_args_cmd.c
177
178
test_no_handle_help_cmd.h: test_no_handle_help_cmd.c
178
179
test_main_cmdline_cmd.h: test_main_cmdline_cmd.c
179
180
test_first_cmdline_cmd.h: test_first_cmdline_cmd.c
214
215
test_values_cc_SOURCES = test_values_cmd_cc.cc test_values_cc.cc
215
216
test_redef_help_SOURCES = test_redef_help_cmd.ggo test_redef_help.c
216
217
test_manual_help_SOURCES = test_manual_help_cmd.ggo test_manual_help.c
 
218
test_manual_help_args_SOURCES = test_manual_help_args_cmd.ggo
217
219
test_no_handle_help_SOURCES = test_no_handle_help_cmd.ggo test_no_handle_help.c
218
220
test_multiple_parsers_SOURCES = test_main_cmdline_cmd.ggo test_first_cmdline_cmd.ggostr test_second_cmdline_cmd.ggostr test_multiple_parsers.c
219
221
test_sections_option_help_SOURCES = test_sections_cmd.ggo test_sections_option_help.c
245
247
test_values_cmd.c test_values_cmd.h \
246
248
test_redef_help_cmd.c test_redef_help_cmd.h \
247
249
test_manual_help_cmd.c test_manual_help_cmd.h \
 
250
test_manual_help_args_cmd.c test_manual_help_args_cmd.h \
248
251
test_no_handle_help_cmd.c test_no_handle_help_cmd.h \
249
252
test_main_cmdline_cmd.c test_main_cmdline_cmd.h \
250
253
test_first_cmdline_cmd.c test_first_cmdline_cmd.h \
340
343
test_section_with_all_hidden.ggo \
341
344
test_required_optional_cmd.ggo \
342
345
test_align_cmd.ggo \
 
346
test_manual_help_args_cmd.ggo \
343
347
$(ERRFILES) $(ERRGGOFILES) 
344
348
 
345
349
check-am: check-output-dir check-output-dirs
396
400
        $(PROGNAME) --show-full-help < $(srcdir)/test_align_cmd.ggo >> $@ 2>&1;
397
401
        $(PROGNAMESHOWHELPREQUIRED) < $(srcdir)/test_required_optional_cmd.ggo >> $@ 2>&1;
398
402
        $(PROGNAMESHOWHELPREQUIRED) --default-optional < $(srcdir)/test_required_optional_cmd.ggo >> $@ 2>&1;
 
403
        $(PROGNAMESHOWFULLHELP) $(srcdir)/test_strict_hidden.ggo >> $@ 2>&1;
 
404
        $(PROGNAMESHOWDETAILEDHELP) $(srcdir)/test_strict_hidden.ggo >> $@ 2>&1;
399
405
 
400
406
store-backup: $(BUILT_SOURCES) $(TESTSOUTPUT)
401
407
        rm -f *.test; \
446
452
        $(PROGNAME) --show-full-help < $(srcdir)/test_align_cmd.ggo >> $(TESTSOUT) 2>&1; \
447
453
        $(PROGNAMESHOWHELPREQUIRED) < $(srcdir)/test_required_optional_cmd.ggo >> $(TESTSOUT) 2>&1; \
448
454
        $(PROGNAMESHOWHELPREQUIRED) --default-optional < $(srcdir)/test_required_optional_cmd.ggo >> $(TESTSOUT) 2>&1; \
 
455
        $(PROGNAMESHOWFULLHELP) < $(srcdir)/test_strict_hidden.ggo >> $(TESTSOUT) 2>&1; \
 
456
        $(PROGNAMESHOWDETAILEDHELP) < $(srcdir)/test_strict_hidden.ggo >> ${TESTSOUT} 2>&1; \
449
457
        sed -i -e "s/\.exe//g" $(TESTSOUT) ; \
450
458
        echo "diff $(TESTSOUTPUT) $(TESTSOUT)"; \
451
459
        if ! diff $(srcdir)/$(TESTSOUTPUT) $(TESTSOUT); \