[Tests/Filter/Caffer2] bugfix: Rewrite wrong if-logic
authorWook Song <wook16.song@samsung.com>
Fri, 26 Jul 2019 04:24:12 +0000 (13:24 +0900)
committerjaeyun-jung <39614140+jaeyun-jung@users.noreply.github.com>
Fri, 26 Jul 2019 14:12:38 +0000 (23:12 +0900)
Since it is wrong that the if-logic for the test cases using
'/etc/streamer.ini', the tests are always terminated before even
started. This patch fixes this bug.

Signed-off-by: Wook Song <wook16.song@samsung.com>
tests/nnstreamer_filter_caffe2/runTest.sh

index 139e799..0081cc3 100755 (executable)
@@ -59,10 +59,11 @@ else
            report
            exit
        fi
+    else
+               echo "Cannot identify nnstreamer.ini"
+               report
+               exit
     fi
-    echo "Cannot identify nnstreamer.ini"
-    report
-    exit
 fi
 
 # Test with Classifier model