def test_native(self): m, _ = self._build_module() tm = le.EngineBuilder.new(m).select_target() self.assertTrue(tm.target_name) self.assertTrue(tm.target_data) self.assertTrue(tm.target_short_description) self.assertTrue(tm.triple) self.assertIn('foo', tm.emit_assembly(m)) self.assertTrue(le.get_host_cpu_name())