Skip to content
Browse files

* Renamed tests/ to t/

  (Also altered paths in mylib/*.perl and the test files themselves to match.)
* Removed test.pl and setup Makefile.PL (& Makefile-500?.pm) to run the tests
  directly with Test::Harness.
  • Loading branch information...
1 parent 2d7b4a7 commit b41a7163ae6d1c1276bc5c1f9a942f39947ccc30 Benjamin Smith committed Nov 2, 2006
Showing with 134 additions and 166 deletions.
  1. +88 −89 MANIFEST
  2. +1 −1 MANIFEST.SKIP
  3. +5 −0 mylib/Makefile-5004.pm
  4. +5 −0 mylib/Makefile-5005.pm
  5. +24 −14 mylib/PoeBuildInfo.pm
  6. +2 −2 mylib/coverage.perl
  7. +1 −1 mylib/gen-meta.perl
  8. +1 −1 mylib/gen-tests.perl
  9. 0 {tests → t}/10_units/01_pod/01_pod.t
  10. 0 {tests → t}/10_units/01_pod/02_pod_coverage.t
  11. 0 {tests → t}/10_units/02_pipes/01_base.t
  12. 0 {tests → t}/10_units/02_pipes/02_oneway.t
  13. 0 {tests → t}/10_units/02_pipes/03_twoway.t
  14. 0 {tests → t}/10_units/03_base/01_poe.t
  15. 0 {tests → t}/10_units/03_base/02_api_ctl.t
  16. 0 {tests → t}/10_units/03_base/02_api_resloader.t
  17. 0 {tests → t}/10_units/03_base/03_component.t
  18. 0 {tests → t}/10_units/03_base/04_driver.t
  19. 0 {tests → t}/10_units/03_base/05_filter.t
  20. 0 {tests → t}/10_units/03_base/06_loop.t
  21. 0 {tests → t}/10_units/03_base/07_queue.t
  22. 0 {tests → t}/10_units/03_base/08_resource.t
  23. 0 {tests → t}/10_units/03_base/09_resources.t
  24. 0 {tests → t}/10_units/03_base/10_wheel.t
  25. 0 {tests → t}/10_units/03_base/11_assert_usage.t
  26. 0 {tests → t}/10_units/03_base/12_assert_retval.t
  27. 0 {tests → t}/10_units/03_base/13_assert_data.t
  28. 0 {tests → t}/10_units/03_base/14_kernel.t
  29. 0 {tests → t}/10_units/03_base/15_kernel_internal.t
  30. 0 {tests → t}/10_units/03_base/16_explicit_loop.t
  31. 0 {tests → t}/10_units/03_base/17_explicit_loop_fail.t
  32. 0 {tests → t}/10_units/04_drivers/01_sysrw.t
  33. +1 −1 {tests → t}/10_units/05_filters/01_block.t
  34. +1 −1 {tests → t}/10_units/05_filters/02_grep.t
  35. 0 {tests → t}/10_units/05_filters/03_http.t
  36. +1 −1 {tests → t}/10_units/05_filters/04_line.t
  37. +1 −1 {tests → t}/10_units/05_filters/05_map.t
  38. +1 −1 {tests → t}/10_units/05_filters/06_recordblock.t
  39. +1 −1 {tests → t}/10_units/05_filters/07_reference.t
  40. +1 −1 {tests → t}/10_units/05_filters/08_stream.t
  41. 0 {tests → t}/10_units/05_filters/50_stackable.t
  42. 0 {tests → t}/10_units/05_filters/99_filterchange.t
  43. 0 {tests → t}/10_units/05_filters/TestFilter.pm
  44. 0 {tests → t}/10_units/06_queues/01_array.t
  45. 0 {tests → t}/10_units/07_exceptions/01_normal.t
  46. 0 {tests → t}/10_units/07_exceptions/02_turn_off.t
  47. 0 {tests → t}/10_units/07_exceptions/03_not_handled.t
  48. 0 {tests → t}/20_resources/00_base/aliases.pm
  49. 0 {tests → t}/20_resources/00_base/caller_state.pm
  50. 0 {tests → t}/20_resources/00_base/controls.pm
  51. 0 {tests → t}/20_resources/00_base/events.pm
  52. 0 {tests → t}/20_resources/00_base/extrefs.pm
  53. 0 {tests → t}/20_resources/00_base/extrefs_gc.pm
  54. 0 {tests → t}/20_resources/00_base/filehandles.pm
  55. 0 {tests → t}/20_resources/00_base/sessions.pm
  56. 0 {tests → t}/20_resources/00_base/sids.pm
  57. 0 {tests → t}/20_resources/00_base/signals.pm
  58. 0 {tests → t}/20_resources/00_base/statistics.pm
  59. 0 {tests → t}/30_loops/00_base/all_errors.pm
  60. 0 {tests → t}/30_loops/00_base/comp_tcp.pm
  61. 0 {tests → t}/30_loops/00_base/comp_tcp_concurrent.pm
  62. 0 {tests → t}/30_loops/00_base/k_alarms.pm
  63. 0 {tests → t}/30_loops/00_base/k_aliases.pm
  64. 0 {tests → t}/30_loops/00_base/k_detach.pm
  65. 0 {tests → t}/30_loops/00_base/k_selects.pm
  66. 0 {tests → t}/30_loops/00_base/k_sig_child.pm
  67. 0 {tests → t}/30_loops/00_base/k_signals.pm
  68. 0 {tests → t}/30_loops/00_base/k_signals_rerun.pm
  69. 0 {tests → t}/30_loops/00_base/sbk_signal_init.pm
  70. 0 {tests → t}/30_loops/00_base/ses_nfa.pm
  71. 0 {tests → t}/30_loops/00_base/ses_session.pm
  72. 0 {tests → t}/30_loops/00_base/wheel_accept.pm
  73. 0 {tests → t}/30_loops/00_base/wheel_curses.pm
  74. 0 {tests → t}/30_loops/00_base/wheel_readline.pm
  75. 0 {tests → t}/30_loops/00_base/wheel_readwrite.pm
  76. 0 {tests → t}/30_loops/00_base/wheel_run.pm
  77. 0 {tests → t}/30_loops/00_base/wheel_sf_ipv6.pm
  78. 0 {tests → t}/30_loops/00_base/wheel_sf_tcp.pm
  79. 0 {tests → t}/30_loops/00_base/wheel_sf_udp.pm
  80. 0 {tests → t}/30_loops/00_base/wheel_sf_unix.pm
  81. 0 {tests → t}/30_loops/00_base/wheel_tail.pm
  82. 0 {tests → t}/90_regression/averell-callback-ret.t
  83. 0 {tests → t}/90_regression/broeren-win32-nbio.t
  84. 0 {tests → t}/90_regression/cfedde-filter-httpd.t
  85. 0 {tests → t}/90_regression/ferrari-server-unix.t
  86. 0 {tests → t}/90_regression/immute-server-tcp-filter.t
  87. 0 {tests → t}/90_regression/merijn-sigchld-system.t
  88. 0 {tests → t}/90_regression/neyuki_detach.t
  89. 0 {tests → t}/90_regression/rt14444-arg1.t
  90. 0 {tests → t}/90_regression/rt1648-tied-stderr.t
  91. 0 {tests → t}/90_regression/rt19908-merlyn-stop.t
  92. 0 {tests → t}/90_regression/steinert-passed-wheel.t
  93. 0 {tests → t}/90_regression/steinert-recursive-signal.t
  94. 0 {tests → t}/90_regression/steinert-signal-integrity.t
  95. 0 {tests → t}/90_regression/suzman_windows.t
  96. 0 {tests → t}/90_regression/ton-stop-corruption.t
  97. +0 −51 test.pl
View
177 MANIFEST
@@ -87,93 +87,92 @@ examples/tcp_watermarks.perl
examples/thrash.perl
examples/watermarks.perl
examples/wheels2.perl
-test.pl
-tests/10_units/01_pod/01_pod.t
-tests/10_units/01_pod/02_pod_coverage.t
-tests/10_units/02_pipes/01_base.t
-tests/10_units/02_pipes/02_oneway.t
-tests/10_units/02_pipes/03_twoway.t
-tests/10_units/03_base/01_poe.t
-tests/10_units/03_base/02_api_ctl.t
-tests/10_units/03_base/02_api_resloader.t
-tests/10_units/03_base/03_component.t
-tests/10_units/03_base/04_driver.t
-tests/10_units/03_base/05_filter.t
-tests/10_units/03_base/06_loop.t
-tests/10_units/03_base/07_queue.t
-tests/10_units/03_base/08_resource.t
-tests/10_units/03_base/09_resources.t
-tests/10_units/03_base/10_wheel.t
-tests/10_units/03_base/11_assert_usage.t
-tests/10_units/03_base/12_assert_retval.t
-tests/10_units/03_base/13_assert_data.t
-tests/10_units/03_base/14_kernel.t
-tests/10_units/03_base/15_kernel_internal.t
-tests/10_units/03_base/16_explicit_loop.t
-tests/10_units/03_base/17_explicit_loop_fail.t
-tests/10_units/04_drivers/01_sysrw.t
-tests/10_units/05_filters/01_block.t
-tests/10_units/05_filters/02_grep.t
-tests/10_units/05_filters/03_http.t
-tests/10_units/05_filters/04_line.t
-tests/10_units/05_filters/05_map.t
-tests/10_units/05_filters/06_recordblock.t
-tests/10_units/05_filters/07_reference.t
-tests/10_units/05_filters/08_stream.t
-tests/10_units/05_filters/50_stackable.t
-tests/10_units/05_filters/99_filterchange.t
-tests/10_units/05_filters/TestFilter.pm
-tests/10_units/06_queues/01_array.t
-tests/10_units/07_exceptions/01_normal.t
-tests/10_units/07_exceptions/02_turn_off.t
-tests/10_units/07_exceptions/03_not_handled.t
-tests/20_resources/00_base/aliases.pm
-tests/20_resources/00_base/caller_state.pm
-tests/20_resources/00_base/controls.pm
-tests/20_resources/00_base/events.pm
-tests/20_resources/00_base/extrefs.pm
-tests/20_resources/00_base/extrefs_gc.pm
-tests/20_resources/00_base/filehandles.pm
-tests/20_resources/00_base/sessions.pm
-tests/20_resources/00_base/sids.pm
-tests/20_resources/00_base/signals.pm
-tests/20_resources/00_base/statistics.pm
-tests/30_loops/00_base/all_errors.pm
-tests/30_loops/00_base/comp_tcp.pm
-tests/30_loops/00_base/comp_tcp_concurrent.pm
-tests/30_loops/00_base/k_alarms.pm
-tests/30_loops/00_base/k_aliases.pm
-tests/30_loops/00_base/k_detach.pm
-tests/30_loops/00_base/k_selects.pm
-tests/30_loops/00_base/k_sig_child.pm
-tests/30_loops/00_base/k_signals.pm
-tests/30_loops/00_base/k_signals_rerun.pm
-tests/30_loops/00_base/sbk_signal_init.pm
-tests/30_loops/00_base/ses_nfa.pm
-tests/30_loops/00_base/ses_session.pm
-tests/30_loops/00_base/wheel_accept.pm
-tests/30_loops/00_base/wheel_curses.pm
-tests/30_loops/00_base/wheel_readline.pm
-tests/30_loops/00_base/wheel_readwrite.pm
-tests/30_loops/00_base/wheel_run.pm
-tests/30_loops/00_base/wheel_sf_ipv6.pm
-tests/30_loops/00_base/wheel_sf_tcp.pm
-tests/30_loops/00_base/wheel_sf_udp.pm
-tests/30_loops/00_base/wheel_sf_unix.pm
-tests/30_loops/00_base/wheel_tail.pm
-tests/90_regression/averell-callback-ret.t
-tests/90_regression/broeren-win32-nbio.t
-tests/90_regression/cfedde-filter-httpd.t
-tests/90_regression/ferrari-server-unix.t
-tests/90_regression/immute-server-tcp-filter.t
-tests/90_regression/merijn-sigchld-system.t
-tests/90_regression/neyuki_detach.t
-tests/90_regression/rt14444-arg1.t
-tests/90_regression/rt1648-tied-stderr.t
-tests/90_regression/rt19908-merlyn-stop.t
-tests/90_regression/steinert-passed-wheel.t
-tests/90_regression/steinert-recursive-signal.t
-tests/90_regression/steinert-signal-integrity.t
-tests/90_regression/suzman_windows.t
-tests/90_regression/ton-stop-corruption.t
+t/10_units/01_pod/01_pod.t
+t/10_units/01_pod/02_pod_coverage.t
+t/10_units/02_pipes/01_base.t
+t/10_units/02_pipes/02_oneway.t
+t/10_units/02_pipes/03_twoway.t
+t/10_units/03_base/01_poe.t
+t/10_units/03_base/02_api_ctl.t
+t/10_units/03_base/02_api_resloader.t
+t/10_units/03_base/03_component.t
+t/10_units/03_base/04_driver.t
+t/10_units/03_base/05_filter.t
+t/10_units/03_base/06_loop.t
+t/10_units/03_base/07_queue.t
+t/10_units/03_base/08_resource.t
+t/10_units/03_base/09_resources.t
+t/10_units/03_base/10_wheel.t
+t/10_units/03_base/11_assert_usage.t
+t/10_units/03_base/12_assert_retval.t
+t/10_units/03_base/13_assert_data.t
+t/10_units/03_base/14_kernel.t
+t/10_units/03_base/15_kernel_internal.t
+t/10_units/03_base/16_explicit_loop.t
+t/10_units/03_base/17_explicit_loop_fail.t
+t/10_units/04_drivers/01_sysrw.t
+t/10_units/05_filters/01_block.t
+t/10_units/05_filters/02_grep.t
+t/10_units/05_filters/03_http.t
+t/10_units/05_filters/04_line.t
+t/10_units/05_filters/05_map.t
+t/10_units/05_filters/06_recordblock.t
+t/10_units/05_filters/07_reference.t
+t/10_units/05_filters/08_stream.t
+t/10_units/05_filters/50_stackable.t
+t/10_units/05_filters/99_filterchange.t
+t/10_units/05_filters/TestFilter.pm
+t/10_units/06_queues/01_array.t
+t/10_units/07_exceptions/01_normal.t
+t/10_units/07_exceptions/02_turn_off.t
+t/10_units/07_exceptions/03_not_handled.t
+t/20_resources/00_base/aliases.pm
+t/20_resources/00_base/caller_state.pm
+t/20_resources/00_base/controls.pm
+t/20_resources/00_base/events.pm
+t/20_resources/00_base/extrefs.pm
+t/20_resources/00_base/extrefs_gc.pm
+t/20_resources/00_base/filehandles.pm
+t/20_resources/00_base/sessions.pm
+t/20_resources/00_base/sids.pm
+t/20_resources/00_base/signals.pm
+t/20_resources/00_base/statistics.pm
+t/30_loops/00_base/all_errors.pm
+t/30_loops/00_base/comp_tcp.pm
+t/30_loops/00_base/comp_tcp_concurrent.pm
+t/30_loops/00_base/k_alarms.pm
+t/30_loops/00_base/k_aliases.pm
+t/30_loops/00_base/k_detach.pm
+t/30_loops/00_base/k_selects.pm
+t/30_loops/00_base/k_sig_child.pm
+t/30_loops/00_base/k_signals.pm
+t/30_loops/00_base/k_signals_rerun.pm
+t/30_loops/00_base/sbk_signal_init.pm
+t/30_loops/00_base/ses_nfa.pm
+t/30_loops/00_base/ses_session.pm
+t/30_loops/00_base/wheel_accept.pm
+t/30_loops/00_base/wheel_curses.pm
+t/30_loops/00_base/wheel_readline.pm
+t/30_loops/00_base/wheel_readwrite.pm
+t/30_loops/00_base/wheel_run.pm
+t/30_loops/00_base/wheel_sf_ipv6.pm
+t/30_loops/00_base/wheel_sf_tcp.pm
+t/30_loops/00_base/wheel_sf_udp.pm
+t/30_loops/00_base/wheel_sf_unix.pm
+t/30_loops/00_base/wheel_tail.pm
+t/90_regression/averell-callback-ret.t
+t/90_regression/broeren-win32-nbio.t
+t/90_regression/cfedde-filter-httpd.t
+t/90_regression/ferrari-server-unix.t
+t/90_regression/immute-server-tcp-filter.t
+t/90_regression/merijn-sigchld-system.t
+t/90_regression/neyuki_detach.t
+t/90_regression/rt14444-arg1.t
+t/90_regression/rt1648-tied-stderr.t
+t/90_regression/rt19908-merlyn-stop.t
+t/90_regression/steinert-passed-wheel.t
+t/90_regression/steinert-recursive-signal.t
+t/90_regression/steinert-signal-integrity.t
+t/90_regression/suzman_windows.t
+t/90_regression/ton-stop-corruption.t
TODO
View
2 MANIFEST.SKIP
@@ -26,5 +26,5 @@ CVS
^poe_report\.xml$
run_network_tests
test-output\.err$
-tests/[23]0_.*\.t
+t/[23]0_.*\.t
~$
View
5 mylib/Makefile-5004.pm
@@ -7,6 +7,7 @@ use ExtUtils::MakeMaker;
use lib qw(./mylib);
use PoeBuildInfo qw(
+ TEST_FILES
CLEAN_FILES
CORE_REQUIREMENTS
);
@@ -54,6 +55,10 @@ WriteMakefile(
FILES => CLEAN_FILES,
},
+ test => {
+ TESTS => TEST_FILES,
+ },
+
PL_FILES => { },
PREREQ_PM => { CORE_REQUIREMENTS },
PM_FILTER => 'mylib/preprocessor.perl',
View
5 mylib/Makefile-5005.pm
@@ -7,6 +7,7 @@ use ExtUtils::MakeMaker;
use lib qw(./mylib);
use PoeBuildInfo qw(
+ TEST_FILES
CLEAN_FILES
CORE_REQUIREMENTS
DIST_ABSTRACT
@@ -125,6 +126,10 @@ WriteMakefile(
FILES => CLEAN_FILES,
},
+ test => {
+ TESTS => TEST_FILES,
+ },
+
# More for META.yml than anything.
PL_FILES => { },
NO_META => 1,
View
38 mylib/PoeBuildInfo.pm
@@ -12,6 +12,7 @@ use base qw(Exporter);
use vars qw(@EXPORT_OK);
@EXPORT_OK = qw(
+ TEST_FILES
CLEAN_FILES
CORE_REQUIREMENTS
DIST_ABSTRACT
@@ -58,22 +59,31 @@ sub CLEAN_FILES () {
poe_report.xml
run_network_tests
test-output.err
- tests/20_resources/10_perl
- tests/20_resources/10_perl/*
- tests/20_resources/20_xs
- tests/20_resources/20_xs/*
- tests/30_loops/10_select
- tests/30_loops/10_select/*
- tests/30_loops/20_poll
- tests/30_loops/20_poll/*
- tests/30_loops/30_event
- tests/30_loops/30_event/*
- tests/30_loops/40_gtk
- tests/30_loops/40_gtk/*
- tests/30_loops/50_tk
- tests/30_loops/50_tk/*
+ t/20_resources/10_perl
+ t/20_resources/10_perl/*
+ t/20_resources/20_xs
+ t/20_resources/20_xs/*
+ t/30_loops/10_select
+ t/30_loops/10_select/*
+ t/30_loops/20_poll
+ t/30_loops/20_poll/*
+ t/30_loops/30_event
+ t/30_loops/30_event/*
+ t/30_loops/40_gtk
+ t/30_loops/40_gtk/*
+ t/30_loops/50_tk
+ t/30_loops/50_tk/*
);
"@clean_files";
}
+sub TEST_FILES () {
+ my @test_files = qw(
+ t/*.t
+ t/*/*.t
+ t/*/*/*.t
+ );
+ "@test_files";
+}
+
1;
View
4 mylib/coverage.perl
@@ -10,7 +10,7 @@
use Config;
use File::Spec;
-# HARNESS_PERL_SWITCHES=$(perl mylib/coverage.perl --coverflags) prove -br tests/10_units/
+# HARNESS_PERL_SWITCHES=$(perl mylib/coverage.perl --coverflags) prove -br t/10_units/
my ($opt_coverflags, $opt_prove, $opt_noclean);
my ($cover, $prove, $make) =
@@ -34,7 +34,7 @@
my @includes = ("mylib", $hps =~ /-I\s*(\S+)/g);
$hps =~ s/(?<=-I)\s+//g;
-my $ignores = join(",", map("+inc,$_", @includes), "+ignore,^tests/");
+my $ignores = join(",", map("+inc,$_", @includes), "+ignore,^t/");
warn "*** Ignores: $ignores";
my $cover_options = "-MDevel::Cover";
View
2 mylib/gen-meta.perl
@@ -25,7 +25,7 @@
},
requires => { CORE_REQUIREMENTS },
no_index => {
- directory => [ "mylib", "tests" ]
+ directory => [ "mylib", "t" ]
},
);
View
2 mylib/gen-tests.perl
@@ -4,7 +4,7 @@
use File::Spec;
use File::Path;
-my $test_base = "tests";
+my $test_base = "t";
### Resources, and their perl and XS implementations.
View
0 tests/10_units/01_pod/01_pod.t → t/10_units/01_pod/01_pod.t
File renamed without changes.
View
0 tests/10_units/01_pod/02_pod_coverage.t → t/10_units/01_pod/02_pod_coverage.t
File renamed without changes.
View
0 tests/10_units/02_pipes/01_base.t → t/10_units/02_pipes/01_base.t
File renamed without changes.
View
0 tests/10_units/02_pipes/02_oneway.t → t/10_units/02_pipes/02_oneway.t
File renamed without changes.
View
0 tests/10_units/02_pipes/03_twoway.t → t/10_units/02_pipes/03_twoway.t
File renamed without changes.
View
0 tests/10_units/03_base/01_poe.t → t/10_units/03_base/01_poe.t
File renamed without changes.
View
0 tests/10_units/03_base/02_api_ctl.t → t/10_units/03_base/02_api_ctl.t
File renamed without changes.
View
0 tests/10_units/03_base/02_api_resloader.t → t/10_units/03_base/02_api_resloader.t
File renamed without changes.
View
0 tests/10_units/03_base/03_component.t → t/10_units/03_base/03_component.t
File renamed without changes.
View
0 tests/10_units/03_base/04_driver.t → t/10_units/03_base/04_driver.t
File renamed without changes.
View
0 tests/10_units/03_base/05_filter.t → t/10_units/03_base/05_filter.t
File renamed without changes.
View
0 tests/10_units/03_base/06_loop.t → t/10_units/03_base/06_loop.t
File renamed without changes.
View
0 tests/10_units/03_base/07_queue.t → t/10_units/03_base/07_queue.t
File renamed without changes.
View
0 tests/10_units/03_base/08_resource.t → t/10_units/03_base/08_resource.t
File renamed without changes.
View
0 tests/10_units/03_base/09_resources.t → t/10_units/03_base/09_resources.t
File renamed without changes.
View
0 tests/10_units/03_base/10_wheel.t → t/10_units/03_base/10_wheel.t
File renamed without changes.
View
0 tests/10_units/03_base/11_assert_usage.t → t/10_units/03_base/11_assert_usage.t
File renamed without changes.
View
0 tests/10_units/03_base/12_assert_retval.t → t/10_units/03_base/12_assert_retval.t
File renamed without changes.
View
0 tests/10_units/03_base/13_assert_data.t → t/10_units/03_base/13_assert_data.t
File renamed without changes.
View
0 tests/10_units/03_base/14_kernel.t → t/10_units/03_base/14_kernel.t
File renamed without changes.
View
0 tests/10_units/03_base/15_kernel_internal.t → t/10_units/03_base/15_kernel_internal.t
File renamed without changes.
View
0 tests/10_units/03_base/16_explicit_loop.t → t/10_units/03_base/16_explicit_loop.t
File renamed without changes.
View
0 .../10_units/03_base/17_explicit_loop_fail.t → t/10_units/03_base/17_explicit_loop_fail.t
File renamed without changes.
View
0 tests/10_units/04_drivers/01_sysrw.t → t/10_units/04_drivers/01_sysrw.t
File renamed without changes.
View
2 tests/10_units/05_filters/01_block.t → t/10_units/05_filters/01_block.t
@@ -7,7 +7,7 @@
use strict;
use lib qw(./mylib ../mylib);
-use lib qw(tests/10_units/05_filters);
+use lib qw(t/10_units/05_filters);
use TestFilter;
use Test::More tests => 20 + $COUNT_FILTER_INTERFACE;
View
2 tests/10_units/05_filters/02_grep.t → t/10_units/05_filters/02_grep.t
@@ -4,7 +4,7 @@
use strict;
use lib qw(./mylib ../mylib);
-use lib qw(tests/10_units/05_filters);
+use lib qw(t/10_units/05_filters);
use Data::Dumper; $Data::Dumper::Indent=1;
View
0 tests/10_units/05_filters/03_http.t → t/10_units/05_filters/03_http.t
File renamed without changes.
View
2 tests/10_units/05_filters/04_line.t → t/10_units/05_filters/04_line.t
@@ -6,7 +6,7 @@
use strict;
use lib qw(./mylib ../mylib);
-use lib qw(tests/10_units/05_filters);
+use lib qw(t/10_units/05_filters);
sub POE::Kernel::ASSERT_DEFAULT () { 1 }
sub POE::Kernel::TRACE_DEFAULT () { 1 }
View
2 tests/10_units/05_filters/05_map.t → t/10_units/05_filters/05_map.t
@@ -4,7 +4,7 @@
use strict;
use lib qw(./mylib ../mylib);
-use lib qw(tests/10_units/05_filters);
+use lib qw(t/10_units/05_filters);
use TestFilter;
use Test::More tests => 19 + $COUNT_FILTER_INTERFACE;
View
2 tests/10_units/05_filters/06_recordblock.t → t/10_units/05_filters/06_recordblock.t
@@ -3,7 +3,7 @@
# Exercises POE::Filter::RecordBlock without the rest of POE
use strict;
-use lib qw(tests/10_units/05_filters);
+use lib qw(t/10_units/05_filters);
use TestFilter;
use Test::More tests => 21 + $COUNT_FILTER_INTERFACE + $COUNT_FILTER_STANDARD;
View
2 tests/10_units/05_filters/07_reference.t → t/10_units/05_filters/07_reference.t
@@ -6,7 +6,7 @@
use strict;
use lib qw(./mylib ../mylib);
-use lib qw(tests/10_units/05_filters);
+use lib qw(t/10_units/05_filters);
sub POE::Kernel::ASSERT_DEFAULT () { 1 }
sub POE::Kernel::TRACE_DEFAULT () { 1 }
View
2 tests/10_units/05_filters/08_stream.t → t/10_units/05_filters/08_stream.t
@@ -5,7 +5,7 @@
use strict;
use lib qw(./mylib ../mylib);
-use lib qw(tests/10_units/05_filters);
+use lib qw(t/10_units/05_filters);
use TestFilter;
use Test::More tests => 9 + $COUNT_FILTER_INTERFACE + $COUNT_FILTER_STANDARD;
View
0 tests/10_units/05_filters/50_stackable.t → t/10_units/05_filters/50_stackable.t
File renamed without changes.
View
0 tests/10_units/05_filters/99_filterchange.t → t/10_units/05_filters/99_filterchange.t
File renamed without changes.
View
0 tests/10_units/05_filters/TestFilter.pm → t/10_units/05_filters/TestFilter.pm
File renamed without changes.
View
0 tests/10_units/06_queues/01_array.t → t/10_units/06_queues/01_array.t
File renamed without changes.
View
0 tests/10_units/07_exceptions/01_normal.t → t/10_units/07_exceptions/01_normal.t
File renamed without changes.
View
0 tests/10_units/07_exceptions/02_turn_off.t → t/10_units/07_exceptions/02_turn_off.t
File renamed without changes.
View
0 ...s/10_units/07_exceptions/03_not_handled.t → t/10_units/07_exceptions/03_not_handled.t
File renamed without changes.
View
0 tests/20_resources/00_base/aliases.pm → t/20_resources/00_base/aliases.pm
File renamed without changes.
View
0 tests/20_resources/00_base/caller_state.pm → t/20_resources/00_base/caller_state.pm
File renamed without changes.
View
0 tests/20_resources/00_base/controls.pm → t/20_resources/00_base/controls.pm
File renamed without changes.
View
0 tests/20_resources/00_base/events.pm → t/20_resources/00_base/events.pm
File renamed without changes.
View
0 tests/20_resources/00_base/extrefs.pm → t/20_resources/00_base/extrefs.pm
File renamed without changes.
View
0 tests/20_resources/00_base/extrefs_gc.pm → t/20_resources/00_base/extrefs_gc.pm
File renamed without changes.
View
0 tests/20_resources/00_base/filehandles.pm → t/20_resources/00_base/filehandles.pm
File renamed without changes.
View
0 tests/20_resources/00_base/sessions.pm → t/20_resources/00_base/sessions.pm
File renamed without changes.
View
0 tests/20_resources/00_base/sids.pm → t/20_resources/00_base/sids.pm
File renamed without changes.
View
0 tests/20_resources/00_base/signals.pm → t/20_resources/00_base/signals.pm
File renamed without changes.
View
0 tests/20_resources/00_base/statistics.pm → t/20_resources/00_base/statistics.pm
File renamed without changes.
View
0 tests/30_loops/00_base/all_errors.pm → t/30_loops/00_base/all_errors.pm
File renamed without changes.
View
0 tests/30_loops/00_base/comp_tcp.pm → t/30_loops/00_base/comp_tcp.pm
File renamed without changes.
View
0 ...s/30_loops/00_base/comp_tcp_concurrent.pm → t/30_loops/00_base/comp_tcp_concurrent.pm
File renamed without changes.
View
0 tests/30_loops/00_base/k_alarms.pm → t/30_loops/00_base/k_alarms.pm
File renamed without changes.
View
0 tests/30_loops/00_base/k_aliases.pm → t/30_loops/00_base/k_aliases.pm
File renamed without changes.
View
0 tests/30_loops/00_base/k_detach.pm → t/30_loops/00_base/k_detach.pm
File renamed without changes.
View
0 tests/30_loops/00_base/k_selects.pm → t/30_loops/00_base/k_selects.pm
File renamed without changes.
View
0 tests/30_loops/00_base/k_sig_child.pm → t/30_loops/00_base/k_sig_child.pm
File renamed without changes.
View
0 tests/30_loops/00_base/k_signals.pm → t/30_loops/00_base/k_signals.pm
File renamed without changes.
View
0 tests/30_loops/00_base/k_signals_rerun.pm → t/30_loops/00_base/k_signals_rerun.pm
File renamed without changes.
View
0 tests/30_loops/00_base/sbk_signal_init.pm → t/30_loops/00_base/sbk_signal_init.pm
File renamed without changes.
View
0 tests/30_loops/00_base/ses_nfa.pm → t/30_loops/00_base/ses_nfa.pm
File renamed without changes.
View
0 tests/30_loops/00_base/ses_session.pm → t/30_loops/00_base/ses_session.pm
File renamed without changes.
View
0 tests/30_loops/00_base/wheel_accept.pm → t/30_loops/00_base/wheel_accept.pm
File renamed without changes.
View
0 tests/30_loops/00_base/wheel_curses.pm → t/30_loops/00_base/wheel_curses.pm
File renamed without changes.
View
0 tests/30_loops/00_base/wheel_readline.pm → t/30_loops/00_base/wheel_readline.pm
File renamed without changes.
View
0 tests/30_loops/00_base/wheel_readwrite.pm → t/30_loops/00_base/wheel_readwrite.pm
File renamed without changes.
View
0 tests/30_loops/00_base/wheel_run.pm → t/30_loops/00_base/wheel_run.pm
File renamed without changes.
View
0 tests/30_loops/00_base/wheel_sf_ipv6.pm → t/30_loops/00_base/wheel_sf_ipv6.pm
File renamed without changes.
View
0 tests/30_loops/00_base/wheel_sf_tcp.pm → t/30_loops/00_base/wheel_sf_tcp.pm
File renamed without changes.
View
0 tests/30_loops/00_base/wheel_sf_udp.pm → t/30_loops/00_base/wheel_sf_udp.pm
File renamed without changes.
View
0 tests/30_loops/00_base/wheel_sf_unix.pm → t/30_loops/00_base/wheel_sf_unix.pm
File renamed without changes.
View
0 tests/30_loops/00_base/wheel_tail.pm → t/30_loops/00_base/wheel_tail.pm
File renamed without changes.
View
0 tests/90_regression/averell-callback-ret.t → t/90_regression/averell-callback-ret.t
File renamed without changes.
View
0 tests/90_regression/broeren-win32-nbio.t → t/90_regression/broeren-win32-nbio.t
File renamed without changes.
View
0 tests/90_regression/cfedde-filter-httpd.t → t/90_regression/cfedde-filter-httpd.t
File renamed without changes.
View
0 tests/90_regression/ferrari-server-unix.t → t/90_regression/ferrari-server-unix.t
File renamed without changes.
View
0 .../90_regression/immute-server-tcp-filter.t → t/90_regression/immute-server-tcp-filter.t
File renamed without changes.
View
0 tests/90_regression/merijn-sigchld-system.t → t/90_regression/merijn-sigchld-system.t
File renamed without changes.
View
0 tests/90_regression/neyuki_detach.t → t/90_regression/neyuki_detach.t
File renamed without changes.
View
0 tests/90_regression/rt14444-arg1.t → t/90_regression/rt14444-arg1.t
File renamed without changes.
View
0 tests/90_regression/rt1648-tied-stderr.t → t/90_regression/rt1648-tied-stderr.t
File renamed without changes.
View
0 tests/90_regression/rt19908-merlyn-stop.t → t/90_regression/rt19908-merlyn-stop.t
File renamed without changes.
View
0 tests/90_regression/steinert-passed-wheel.t → t/90_regression/steinert-passed-wheel.t
File renamed without changes.
View
0 ...90_regression/steinert-recursive-signal.t → t/90_regression/steinert-recursive-signal.t
File renamed without changes.
View
0 ...90_regression/steinert-signal-integrity.t → t/90_regression/steinert-signal-integrity.t
File renamed without changes.
View
0 tests/90_regression/suzman_windows.t → t/90_regression/suzman_windows.t
File renamed without changes.
View
0 tests/90_regression/ton-stop-corruption.t → t/90_regression/ton-stop-corruption.t
File renamed without changes.
View
51 test.pl
@@ -1,51 +0,0 @@
-#!/usr/bin/perl -w
-# $Id$
-
-use strict;
-
-use lib qw(./mylib);
-use Test::Harness;
-use File::Find;
-use File::Spec;
-
-### Some early setup.
-
-# Makefile.PL does this. Why don't we?
-$ENV{PERL_DL_NONLAZY} = 1;
-
-### Run the tests.
-
-my @test_files = gather_test_files();
-die "*** Can't find test files" unless @test_files;
-
-# Various test filtering thingies.
-
-# Stop the tests at one that tends to dump core.
-#my $x = @test_files;
-#while (@test_files) {
-# last if $test_files[-1] eq "tests/30_loops/50_tk/ses_session.t";
-# pop @test_files;
-#}
-
-# Run the tests for a particular event loop.
-# @test_files = grep /50_tk/, @test_files;
-
-runtests(@test_files);
-exit;
-
-# Build a list of all the tests to run.
-
-sub gather_test_files {
- my %test_files;
-
- find(
- sub {
- return unless -f;
- return unless /\.t$/;
- $test_files{File::Spec->catfile($File::Find::dir, $_)} = 1;
- },
- 'tests',
- );
-
- return sort keys %test_files;
-}

0 comments on commit b41a716

Please sign in to comment.
Something went wrong with that request. Please try again.