Merge commit '3621a6c08002c6b3e5b6f91bb0e20d8372613160' into dev

This commit is contained in:
Simone
2025-01-07 15:08:55 +00:00
1521 changed files with 323443 additions and 365407 deletions

View File

@@ -23,6 +23,7 @@ def testcb(buffer, size, offset, userdata):
# ## Test class Cs
def test_class():
errors = []
for (arch, mode, code, comment, syntax) in all_tests:
print('*' * 16)
print("Platform: %s" %comment)
@@ -65,7 +66,11 @@ def test_class():
print
except CsError as e:
print("ERROR: %s" % e)
errors.append(str(e))
return errors
if __name__ == '__main__':
test_class()
if test_class():
print("Some errors happened. Please check the output")
exit(1)