Add sreal to selftests
authorMartin Liska <mliska@suse.cz>
Wed, 20 Jul 2016 07:00:50 +0000 (09:00 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Wed, 20 Jul 2016 07:00:50 +0000 (07:00 +0000)
commitdcbdb17aebb7fac8b3e455774728c044dd711e37
tree88225b8bb402d7d64ffddd07144958b5588a22da
parent43694e8bbb002aac45baaf35cc70861c546a1a40
Add sreal to selftests

* selftest-run-tests.c (selftest::run_tests): New function.
* selftest.h (sreal_c_tests): Declare.
* sreal.c (sreal_verify_basics): New function.
(verify_aritmetics): Likewise.
(sreal_verify_arithmetics): Likewise.
(verify_shifting): Likewise.
(sreal_verify_shifting): Likewise.
(void sreal_c_tests): Likewise.
* gcc.dg/plugin/plugin.exp: Remove sreal test.
* gcc.dg/plugin/sreal-test-1.c: Remove.
* gcc.dg/plugin/sreal_plugin.c: Remove.

From-SVN: r238508
gcc/ChangeLog
gcc/selftest-run-tests.c
gcc/selftest.h
gcc/sreal.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/plugin/plugin.exp
gcc/testsuite/gcc.dg/plugin/sreal-test-1.c [deleted file]
gcc/testsuite/gcc.dg/plugin/sreal_plugin.c [deleted file]