def test_compiles_as_much_as_possible(self):
    bingfn = script_helper.make_script(self.pkgdir, 'bing', 'syntax(error')
    (rc, out, err) = self.assertRunNotOK('nosuchfile', self.initfn, bingfn, self.barfn)
    self.assertRegex(out, b'rror')
    self.assertNotCompiled(bingfn)
    self.assertCompiled(self.initfn)
    self.assertCompiled(self.barfn)
def test_compiles_as_much_as_possible(self):
    bingfn = script_helper.make_script(self.pkgdir, 'bing', 'syntax(error')
    (rc, out, err) = self.assertRunNotOK('nosuchfile', self.initfn, bingfn, self.barfn)
    self.assertRegex(out, b'rror')
    self.assertNotCompiled(bingfn)
    self.assertCompiled(self.initfn)
    self.assertCompiled(self.barfn)