Add selftests to selftest.c
authorDavid Malcolm <dmalcolm@redhat.com>
Thu, 11 Aug 2016 23:36:46 +0000 (23:36 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Thu, 11 Aug 2016 23:36:46 +0000 (23:36 +0000)
commit5714dbda995de0b19ed5e6133457bfd90e19972d
tree3ab5b713883d904efc7ed7f4da57b5419848174d
parent2c90c549f986ceecc49314b5b4af03a4efbbda5c
Add selftests to selftest.c

gcc/ChangeLog:
* selftest-run-tests.c (selftest::run_tests): Call selftest_c_tests.
* selftest.c (selftest::test_assertions): New function.
(selftest::selftest_c_tests): New function.
* selftest.h (selftest::selftest_c_tests): New declaration.

From-SVN: r239397
gcc/ChangeLog
gcc/selftest-run-tests.c
gcc/selftest.c
gcc/selftest.h