Merge commit '3621a6c08002c6b3e5b6f91bb0e20d8372613160' into dev
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user