aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorgramanas <anastasis.gramm2@gmail.com>2018-04-16 14:34:30 +0300
committergramanas <anastasis.gramm2@gmail.com>2018-04-16 14:43:50 +0300
commit94bc38df829c4816e629c7dcaed31b1e7c75bc4b (patch)
treec02d2de0f44462c82e24591127caf66b05d8710d /src/tests
parentafc0f4906ed9891962d1797581afeb5c61e2e3af (diff)
downloadck-94bc38df829c4816e629c7dcaed31b1e7c75bc4b.tar.gz
ck-94bc38df829c4816e629c7dcaed31b1e7c75bc4b.tar.bz2
ck-94bc38df829c4816e629c7dcaed31b1e7c75bc4b.zip
Add asan option to cmake
finish init without any asan warnings
Diffstat (limited to 'src/tests')
-rwxr-xr-xsrc/tests/check_ck8
-rwxr-xr-xsrc/tests/init23
2 files changed, 0 insertions, 31 deletions
diff --git a/src/tests/check_ck b/src/tests/check_ck
deleted file mode 100755
index 3fd2369..0000000
--- a/src/tests/check_ck
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/bash
-
-DIR=@BIN_TEST_DIR@
-for i in $( ls $DIR ); do
- ERROR="TEST "$i" FAILED:"
- PASS="TEST "$i" PASSED"
- source $DIR/$i
-done
diff --git a/src/tests/init b/src/tests/init
deleted file mode 100755
index 4f78802..0000000
--- a/src/tests/init
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/bash
-BIN=/build/ck
-
-TEST_LOCATION=@PROJECT_TESTING_GROUNDS@
-mkdir -p $TEST_LOCATION/vc
-mkdir $TEST_LOCATION/sec
-
-exec $BIN/ck init $TEST_LOCATION/vc $TEST_LOCATION/sec &
-wait $!
-
-if [ ! -f ~/.ck/ckrc ]; then
- echo -e $ERROR"Config file not created."
- exit 1
-fi
-
-if [ ! -f ~/.ck/ckdb ]; then
- echo -e $ERROR"DB file not created."
- exit 1
-fi
-
-rm -rf $HOME/.ck
-rm -rf $TEST_LOCATION
-echo -e $PASS