title: How to get unittest test results on gitlab-ci?
body: <p>After using gitlab-runner to execute python unittest, testcase fails, but gitlab shows pass.</p>
  
  <pre><code>$ python3 test/test_utils.py
  test_init (__main__.Test_BslReset) ... ERROR
  test_reset_all (__main__.Test_BslReset) ... ERROR
  
  ======================================================================
  ERROR: test_init (__main__.Test_BslReset)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "test/test_utils.py", line 9, in setUp
      self.bsl_reset = common.utils.BslReset()
    File "/home/gitlab-runner/builds/FgNVsWZq/0/root/hddl-r-sanity/common/utils.py", line 119, in __init__
      self.bsl_reset_src = os.path.join(get_hddl_install_dir(), 'hddl-bsl')
    File "/home/gitlab-runner/builds/FgNVsWZq/0/root/hddl-r-sanity/common/utils.py", line 65, in get_hddl_install_dir
      raise ValueError('Not check EnvVar(HDDL_INSTALL_DIR),Please set it!')
  ValueError: Not check EnvVar(HDDL_INSTALL_DIR),Please set it!
  
  ======================================================================
  ERROR: test_reset_all (__main__.Test_BslReset)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "test/test_utils.py", line 9, in setUp
      self.bsl_reset = common.utils.BslReset()
    File "/home/gitlab-runner/builds/FgNVsWZq/0/root/hddl-r-sanity/common/utils.py", line 119, in __init__
      self.bsl_reset_src = os.path.join(get_hddl_install_dir(), 'hddl-bsl')
    File "/home/gitlab-runner/builds/FgNVsWZq/0/root/hddl-r-sanity/common/utils.py", line 65, in get_hddl_install_dir
      raise ValueError('Not check EnvVar(HDDL_INSTALL_DIR),Please set it!')
  ValueError: Not check EnvVar(HDDL_INSTALL_DIR),Please set it!
  
  ----------------------------------------------------------------------
  Ran 2 tests in 0.000s
  
  FAILED (errors=2)
  Job succeeded
  </code></pre>
  
  <p>I want to use gitlab-ci on gitlab to execute python unittest, the .gitlab-ci.yml configuration file is as follows:</p>
  
  <pre><code>stages:
   - build
   - test
  
  build:
   stage: build
   script:
    - sudo apt-get install python3-pip
    - pip3 install -r requirements_linux.txt
   tags:
    - 'server'
  test:
   stage: test
   script:
    - python3 test/test_utils.py
   tags:
    - "server"
  </code></pre>
  
  <p>I think gitlab just judges python3 test/test-utils.py this command is not successful, and did not really get the results in unittest, how to do it?</p>