]> rtime.felk.cvut.cz Git - omk.git/commitdiff
Fix failure in cmetric test
authorMichal Sojka <sojkam1@fel.cvut.cz>
Tue, 30 Apr 2013 14:06:37 +0000 (16:06 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Tue, 30 Apr 2013 14:06:37 +0000 (16:06 +0200)
It was caused by undefined locale.

tests/cmetric.files

index 64158353a4eb6223619fd616dad6a73ae0b766f5..47fd437cf6f7c20fc922ef84a273406aefee96a6 100644 (file)
@@ -6,13 +6,13 @@ cat > 'correct_cmetric_config.h' <<EOF
 #define FLAG_BAR_m 0x02
 #define FLAG_FOO_b 0x0
 #define FLAG_FOO_m 0x01
+#define VALUE_HEX 0x07b
 #define o_blah_field1 0x0
 #define o_blah_field2 0x04
 #define o_blah_flags 0x08
 #define s_blah_field1 0x04
 #define s_blah_field2 0x01
 #define s_blah_flags 0x04
-#define VALUE_HEX 0x07b
 /* Defines from the values defined to symbols in decimal format */
 #define VALUE_DEC 123
 #define VALUE_DEC_ZERO 0