Add config-full to all.sh
diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh
index c88757c..fad039c 100755
--- a/tests/scripts/all.sh
+++ b/tests/scripts/all.sh
@@ -17,6 +17,9 @@
     exit 1
 fi
 
+CONFIG_H='include/polarssl/config.h'
+CONFIG_BAK="$CONFIG_H.bak"
+
 MEMORY=0
 
 while [ $# -gt 0 ]; do
@@ -40,12 +43,19 @@
 cleanup()
 {
     make clean
+
     find -iname '*cmake*' -not -name CMakeLists.txt -exec rm -rf {} \+
     rm -f include/Makefile include/polarssl/Makefile programs/*/Makefile
     git update-index --no-skip-worktree Makefile library/Makefile programs/Makefile tests/Makefile
     git checkout -- Makefile library/Makefile programs/Makefile tests/Makefile
+
+    if [ -f "$CONFIG_BAK" ]; then
+        mv "$CONFIG_BAK" "$CONFIG_H"
+    fi
 }
 
+trap cleanup INT TERM HUP
+
 msg()
 {
     echo ""
@@ -96,11 +106,27 @@
 ./compat.sh
 cd ..
 
-msg "build: cmake, clang with lots of warnings" # ~ 40s
+msg "build: cmake, full config, clang with lots of warnings" # ~ 40s
 cleanup
+cp "$CONFIG_H" "$CONFIG_BAK"
+scripts/config.pl full
+scripts/config.pl unset POLARSSL_MEMORY_BACKTRACE # too slow for tests
 CC=clang cmake -D CMAKE_BUILD_TYPE:String=Check .
 make
 
+msg "test: main suites (full config)"
+make test
+
+msg "test: ssl-opt.sh default (full config)"
+cd tests
+./ssl-opt.sh -f Default
+cd ..
+
+msg "test: compat.sh 3DES & NULL (full config)"
+cd tests
+./compat.sh -e '^$' -f 'NULL\|3DES-EDE-CBC\|DES-CBC3'
+cd ..
+
 msg "build: Unix make, -O2" # ~ 30s
 cleanup
 make