move verification into a shell script 11/40011/2
authoryayogev <yaronyogev@gmail.com>
Wed, 23 Aug 2017 15:05:08 +0000 (18:05 +0300)
committeryayogev <yaronyogev@gmail.com>
Wed, 23 Aug 2017 15:07:18 +0000 (18:07 +0300)
Change-Id: Id9404859ddb9d55122aa59b6c32b440a6f10288e
Signed-off-by: yayogev <yaronyogev@gmail.com>
app/test/verify.sh [new file with mode: 0644]

diff --git a/app/test/verify.sh b/app/test/verify.sh
new file mode 100644 (file)
index 0000000..df48cf3
--- /dev/null
@@ -0,0 +1,14 @@
+#!/bin/bash
+###############################################################################
+# Copyright (c) 2017 Koren Lev (Cisco Systems), Yaron Yogev (Cisco Systems)   #
+# and others                                                                  #
+#                                                                             #
+# All rights reserved. This program and the accompanying materials            #
+# are made available under the terms of the Apache License, Version 2.0       #
+# which accompanies this distribution, and is available at                    #
+# http://www.apache.org/licenses/LICENSE-2.0                                  #
+###############################################################################
+set -o errexit
+set -o nounset
+set -o pipefail
+PYTHONPATH=$PWD/app python -m unittest discover -s app/test/fetch