Revert "Remove tests that depend on TLS or X.509"

This reverts commit 9afb2e992136db3fae9a669c3faaf6d5d27602a8.

Conflicts:
* include/CMakeLists.txt
  * "Make config.h available" comment: there has been a change
    adjacent to where it was removed. Just re-add what was removed.
* tests/CMakeLists.txt:
  * compat.sh: there has been a change immediately before where it was
    removed. Just re-add what was removed.
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 49bff13..d132ddb 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -99,6 +99,7 @@
 add_test_suite(cipher cipher.padding)
 add_test_suite(cmac)
 add_test_suite(ctr_drbg)
+add_test_suite(debug)
 add_test_suite(des)
 add_test_suite(dhm)
 add_test_suite(ecdh)
@@ -145,10 +146,13 @@
 add_test_suite(psa_crypto_slot_management)
 add_test_suite(psa_its)
 add_test_suite(shax)
+add_test_suite(ssl)
 add_test_suite(timing)
 add_test_suite(rsa)
 add_test_suite(version)
 add_test_suite(xtea)
+add_test_suite(x509parse)
+add_test_suite(x509write)
 
 # Make scripts and data files needed for testing available in an
 # out-of-source build.
@@ -156,7 +160,9 @@
     if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/seedfile")
         link_to_source(seedfile)
     endif()
+    link_to_source(compat.sh)
     link_to_source(data_files)
     link_to_source(scripts)
+    link_to_source(ssl-opt.sh)
     link_to_source(suites)
 endif()