test_that reports TEST_NA as pass

This cl makes test_that report TEST_NA as pass

BUG=chromium:380028
TEST=force a test return TestNAError and run test_that

Change-Id: I1e3f5325c0d090a7e9565fcab5d2fec8d14c76d2
Reviewed-on: https://chromium-review.googlesource.com/203012
Tested-by: Fang Deng <fdeng@chromium.org>
Reviewed-by: Aviv Keshet <akeshet@chromium.org>
Commit-Queue: Fang Deng <fdeng@chromium.org>
diff --git a/utils_py/generate_test_report.py b/utils_py/generate_test_report.py
index 0ec9c84..8c751b9 100755
--- a/utils_py/generate_test_report.py
+++ b/utils_py/generate_test_report.py
@@ -328,8 +328,8 @@
     status = False
     error_msg = None
     status_raw = open(status_file, 'r').read()
-    failure_tags = 'ABORT|ERROR|FAIL|TEST_NA'
-    warning_tag = 'WARN'
+    failure_tags = 'ABORT|ERROR|FAIL'
+    warning_tag = 'WARN|TEST_NA'
     failure = re.search(r'%s' % failure_tags, status_raw)
     warning = re.search(r'%s' % warning_tag, status_raw) and not failure
     good = (re.search(r'GOOD.+completed successfully', status_raw) and