[Tests/Filter/TFLite] bugfix: Fix wrong if-logic
authorWook Song <wook16.song@samsung.com>
Mon, 22 Jul 2019 05:48:59 +0000 (14:48 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Mon, 22 Jul 2019 08:03:40 +0000 (17:03 +0900)
This patch fixes wrong if-logic that results in termination of the test
without running the gstTest code when /etc/streamer.ini is used.

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

index eaea51e..40fabb4 100644 (file)
@@ -59,10 +59,11 @@ else
            report
            exit
        fi
-    fi
-    echo "Cannot identify nnstreamer.ini"
-    report
-    exit
+       else
+               echo "Cannot identify nnstreamer.ini"
+               report
+               exit
+       fi
 fi
 
 PATH_TO_MODEL="../test_models/models/mobilenet_v1_1.0_224_quant.tflite"