Skip to content

Commit fbb477f

Browse files
committed
tests: fix exit code
1 parent 179d004 commit fbb477f

File tree

22 files changed

+58
-1
lines changed

22 files changed

+58
-1
lines changed

_examples/arrays/test.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,5 @@
1111
print ("Go array: ", b)
1212
print ("arrays.IntSum from Python list:", arrays.IntSum(a))
1313
print ("arrays.IntSum from Go array:", arrays.IntSum(b))
14+
15+
print("OK")

_examples/cgo/test.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@
1010
print("cgo.doc: %s" % repr(cgo.__doc__).lstrip('u'))
1111
print("cgo.Hi()= %s" % repr(cgo.Hi()).lstrip('u'))
1212
print("cgo.Hello(you)= %s" % repr(cgo.Hello("you")).lstrip('u'))
13+
14+
print("OK")

_examples/consts/test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,4 @@
2121
#print("k3 = %s" % consts.GetKind3())
2222
#print("k4 = %s" % consts.GetKind4())
2323

24+
print("OK")

_examples/empty/test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@
99

1010
print("doc(pkg):\n%s" % repr(pkg.__doc__).lstrip('u'))
1111

12+
print("OK")

_examples/funcs/test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,4 @@
2727
s2.F1 = funcs.GetF1()
2828
print("s2.F1() = %s" % s2.F1())
2929

30+
print("OK")

_examples/gostrings/test.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@
99

1010
print("S1 = %s" % (gostrings.GetS1(),))
1111
print("GetString() = %s" % (gostrings.GetString(),))
12+
13+
print("OK")

_examples/hi/test.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,3 +256,6 @@
256256
print("mem(slice):",len(memoryview(s)))
257257
except Exception as err:
258258
print("mem(slice): caught:",err)
259+
pass
260+
261+
print("OK")

_examples/iface/test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,4 @@
1818
print("iface.CallIface(t)")
1919
iface.CallIface(t)
2020

21+
print("OK")

_examples/lot/test.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,5 @@
1212
print('l.SomeListOfInts: {}'.format(l.SomeListOfInts))
1313
print('l.SomeListOfFloats: {}'.format(l.SomeListOfFloats))
1414
print('l.SomeListOfBools: {}'.format(l.SomeListOfBools))
15+
16+
print("OK")

_examples/maps/test.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,5 @@
1313
print('maps.Values from Go map:', maps.Values(a))
1414
print('maps.Keys from Python dictionary:', maps.Keys(b))
1515
print('maps.Values from Python dictionary:', maps.Values(b))
16+
17+
print("OK")

0 commit comments

Comments
 (0)