[Lsb-messages] /var/www/bzr/lsb/devel/misc-test r2323: Group types in struct_tests.h by name, not by Tid
Denis Silakov
denis.silakov at rosalab.ru
Fri Oct 26 14:38:10 UTC 2012
------------------------------------------------------------
revno: 2323
committer: Denis Silakov <denis.silakov at rosalab.ru>
branch nick: misc-test
timestamp: Fri 2012-10-26 18:38:10 +0400
message:
Group types in struct_tests.h by name, not by Tid
modified:
dynchk/tests/gen_tests.pl
-------------- next part --------------
=== modified file 'dynchk/tests/gen_tests.pl'
--- a/dynchk/tests/gen_tests.pl 2012-10-26 05:14:27 +0000
+++ b/dynchk/tests/gen_tests.pl 2012-10-26 14:38:10 +0000
@@ -130,7 +130,7 @@
FROM Type
LEFT JOIN ArchType ON ATtid=Tid
LEFT JOIN Architecture ON Aid=ATaid
-WHERE Tname = ?
+WHERE Tid = ?
AND Ttype = "Struct"
AND ( ( (ATappearedin <= \''.$lsbversion.'\' and ATappearedin<>\'\')
AND (ATwithdrawnin IS NULL OR ATwithdrawnin >\''.$lsbversion.'\') )
@@ -425,7 +425,7 @@
open($validate_file, '>struct/validate_struct_' . $struct_name . '.c')
or die $struct_name."Can't open output: $!";
- $struct_arch_q->execute($struct_name)
+ $struct_arch_q->execute($struct_id)
or die "Couldn't execute struct_arch query: ".DBI->errstr;
write_header($validate_file, $struct_header, 1);
More information about the lsb-messages
mailing list