• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1import pytest
2import logging
3
4class Test:
5
6    # @pytest.mark.parametrize('setup_teardown', [None], indirect=True)
7    def test(self, device):
8        crashes = device.hdc_shell('cd /data/log/faultlog/temp && grep "Process name" -rnw ./')
9        if 'foundation' in crashes:
10            logging.info('foundation crash check failed!')
11        #assert 'foundation' not in crashes, 'foundation crash exist'
12        assert 'render_service' not in crashes, 'render_service crash exist'
13        assert 'appspawn' not in crashes, 'appspawn crash exist'
14