Home
last modified time | relevance | path

Searched refs:exp_retcode (Results 1 – 2 of 2) sorted by relevance

/zcbor-3.5.0-3.4.0/tests/scripts/
Dtest_repo_files.py64 def popen_test(self, args, input='', exp_retcode=0, **kwargs): argument
67 self.assertEqual(exp_retcode, call0.returncode, stderr0.decode('utf-8'))
Dtest_zcbor.py549 def popen_test(self, args, input="", exp_retcode=0): argument
552 self.assertEqual(exp_retcode, call0.returncode, stderr0.decode('utf-8'))
611 … self.popen_test(["zcbor", "code", "--cddl", str(p_map_bstr_cddl), "-t", "map"], "", exp_retcode=2)
616 _, stderr1 = self.popen_test(args, "", exp_retcode=2)
622 _, stderr2 = self.popen_test(args + ["--output-c", "/tmp/map.c"], "", exp_retcode=2)
678 …, p_yaml_compat_cddl, "-i", p_yaml_compat_yaml, "-t", "Yaml_compatibility_example"], exp_retcode=1)