aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
authorAlon Zakai <azakai@mozilla.com>2010-11-13 18:50:15 -0800
committerAlon Zakai <azakai@mozilla.com>2010-11-13 18:50:15 -0800
commit268226c46c7f10d303d121e228f4798ad7c630a2 (patch)
treeef7976f5a2dc2943d10a9280851bef28fdc10903 /tests/runner.py
parent0d1ff8042b13df96ae0b67c126b7637cd46dfd5f (diff)
string constants inside struct constants +test
Diffstat (limited to 'tests/runner.py')
-rw-r--r--tests/runner.py14
1 files changed, 12 insertions, 2 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 9c0db5f2..ecabe9eb 100644
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -596,12 +596,22 @@ if 'benchmark' not in sys.argv:
{ 't', 0.27, 2 },
};
+ const unsigned char faceedgesidx[6][4] =
+ {
+ { 4, 5, 8, 10 },
+ { 6, 7, 9, 11 },
+ { 0, 2, 8, 9 },
+ { 1, 3, 10,11 },
+ { 0, 1, 4, 6 },
+ { 2, 3, 5, 7 },
+ };
+
int main( int argc, const char *argv[] ) {
- printf("*%d,%d,%d*\\n", iub[0].c, int(iub[1].p*100), iub[2].pi);
+ printf("*%d,%d,%d,%d*\\n", iub[0].c, int(iub[1].p*100), iub[2].pi, faceedgesidx[3][2]);
return 0;
}
'''
- self.do_test(src, '*97,15,3*')
+ self.do_test(src, '*97,15,3,10*')
def test_conststructs(self):
src = '''