Commit b7bd90f
committed
Have "make check" run all of the libcheck-based unit tests,
pytest-based tests, and perl-framework-based tests if available.
* test/pyhttpd/env.py (HttpdTestEnv.__init__): Use config.ini from
$PYHTTPD_CONFIG if set.
* configure.in: Check for pytest-3, add check-pytest to $CHECK_TARGETS
if found. Add check-unittests to $CHECK_TARGETS if test/httpdunit is
generated. Add check-test-framework to $CHECK_TARGETS if the Perl test
framework is present. Stop generating WITH_TEST_SUITE.
* Makefile.in (check): Depend on $CHECK_TARGETS.
(check-tree, check/bin/apachectl, check/config.ini, check/modules/stamp):
New targets to fill out the check/ install tree for use with pyhttpd.
(check-pytest): New target to run pytest-based tests.
(check-unittests): New target to run libcheck-based tests.
(check-test-framework): Renamed from "check-yes", runs Perl framework tests.
Github: closes #598
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1932079 13f79535-47bb-0310-9956-ffa450edef681 parent c4e47bc commit b7bd90f
File tree
4 files changed
+46
-14
lines changed- build
- test/pyhttpd
4 files changed
+46
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
449 | 449 | | |
450 | 450 | | |
451 | 451 | | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
452 | 458 | | |
453 | 459 | | |
454 | 460 | | |
| |||
468 | 474 | | |
469 | 475 | | |
470 | 476 | | |
471 | | - | |
472 | | - | |
473 | | - | |
| 477 | + | |
| 478 | + | |
474 | 479 | | |
475 | | - | |
476 | | - | |
| 480 | + | |
| 481 | + | |
477 | 482 | | |
478 | 483 | | |
479 | | - | |
480 | | - | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
481 | 500 | | |
482 | 501 | | |
483 | 502 | | |
| |||
513 | 532 | | |
514 | 533 | | |
515 | 534 | | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| 91 | + | |
| 92 | + | |
91 | 93 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
791 | 791 | | |
792 | 792 | | |
793 | 793 | | |
794 | | - | |
| 794 | + | |
795 | 795 | | |
796 | 796 | | |
797 | 797 | | |
| 798 | + | |
798 | 799 | | |
799 | 800 | | |
800 | 801 | | |
| |||
803 | 804 | | |
804 | 805 | | |
805 | 806 | | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
806 | 814 | | |
807 | 815 | | |
808 | 816 | | |
| |||
817 | 825 | | |
818 | 826 | | |
819 | 827 | | |
| 828 | + | |
820 | 829 | | |
821 | 830 | | |
822 | 831 | | |
| |||
1007 | 1016 | | |
1008 | 1017 | | |
1009 | 1018 | | |
1010 | | - | |
| 1019 | + | |
1011 | 1020 | | |
1012 | | - | |
1013 | | - | |
1014 | | - | |
| 1021 | + | |
1015 | 1022 | | |
1016 | 1023 | | |
1017 | | - | |
1018 | 1024 | | |
1019 | 1025 | | |
1020 | 1026 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
| 241 | + | |
| 242 | + | |
241 | 243 | | |
242 | | - | |
| 244 | + | |
243 | 245 | | |
244 | 246 | | |
245 | 247 | | |
| |||
0 commit comments