We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fac991 commit 47d9c22Copy full SHA for 47d9c22
Changes.md
@@ -1,3 +1,8 @@
1
+## 1.7.1
2
+
3
+* The external symbols test now only runs on Linux. It assumes a Linux
4
+ environment. Reported by Carlo Cabrera. GitHub #304.
5
6
## 1.7.0 - 2022-09-28
7
8
* `FD_CLOEXEC` is now set on platforms that do not support `O_CLOEXEC`.
t/external_symbols_t.pl
@@ -5,12 +5,20 @@
use FindBin qw( $Bin );
+_skip_tests_if_not_linux();
9
_skip_tests_if_required_modules_are_not_present();
10
_skip_tests_if_nm_is_not_present();
11
_test_libs_external_symbols();
12
13
done_testing();
14
15
+sub _skip_tests_if_not_linux {
16
+ return if $^O eq 'linux';
17
18
+ print "1..0 # skip all tests skipped - this test requires Linux.\n";
19
+ exit 0;
20
+}
21
22
sub _skip_tests_if_required_modules_are_not_present {
23
eval <<'EOF';
24
use Test::More 0.88;
0 commit comments