test: add test script in jenkins

Change-Id: I5c8292d3b7cba6feedda431c0ba617cc2fca460f
diff --git a/.jenkins.d/20-build.sh b/.jenkins.d/20-build.sh
index e64e944..fca152a 100755
--- a/.jenkins.d/20-build.sh
+++ b/.jenkins.d/20-build.sh
@@ -18,3 +18,7 @@
 
 # Cleanup
 sudo ./waf -j1 --color=yes distclean
+
+# Configure/build in optimized mode with tests
+./waf -j1 --color=yes configure --with-tests
+./waf -j1 --color=yes build