diff options
| author | Christian Franke <chris@opensourcerouting.org> | 2017-08-31 22:45:01 +0200 |
|---|---|---|
| committer | Christian Franke <chris@opensourcerouting.org> | 2017-09-02 01:57:32 +0200 |
| commit | 0fb07d51c0e800570d543f8ea40a984c391eda74 (patch) | |
| tree | b904ea2cf9ab3f1835c9e2a99fd92d8a7ac8958a | |
| parent | ff228d294813d59ca97b71995aa2d524476c08f0 (diff) | |
tests: skip isis tlv fuzztest on SunOS
| -rwxr-xr-x | configure.ac | 1 | ||||
| -rw-r--r-- | tests/Makefile.am | 4 | ||||
| -rw-r--r-- | tests/isisd/test_fuzz_isis_tlv.py | 15 |
3 files changed, 17 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index fb73583c28..3daf01fcc5 100755 --- a/configure.ac +++ b/configure.ac @@ -880,6 +880,7 @@ case "$host_os" in AC_DEFINE(KAME,1,KAME IPv6) ;; esac +AM_CONDITIONAL(SOLARIS, test "${SOLARIS}" = "solaris") AC_SYS_LARGEFILE diff --git a/tests/Makefile.am b/tests/Makefile.am index 8a8918dcb4..1c0e9ee732 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -25,8 +25,12 @@ TESTS_BGPD = endif if ISISD +if SOLARIS +TESTS_ISISD = +else TESTS_ISISD = \ isisd/test_fuzz_isis_tlv +endif else TESTS_ISISD = endif diff --git a/tests/isisd/test_fuzz_isis_tlv.py b/tests/isisd/test_fuzz_isis_tlv.py index 60938472b5..bf700bfee2 100644 --- a/tests/isisd/test_fuzz_isis_tlv.py +++ b/tests/isisd/test_fuzz_isis_tlv.py @@ -1,6 +1,15 @@ import frrtest -class TestFuzzIsisTLV(frrtest.TestMultiOut): - program = './test_fuzz_isis_tlv' +import pytest +import platform -TestFuzzIsisTLV.exit_cleanly() +if platform.uname()[0] == 'SunOS': + class TestFuzzIsisTLV: + @pytest.mark.skipif(True, reason='Test unsupported on SunOS') + def test_exit_cleanly(self): + pass +else: + class TestFuzzIsisTLV(frrtest.TestMultiOut): + program = './test_fuzz_isis_tlv' + + TestFuzzIsisTLV.exit_cleanly() |
