oktetlabs / test-environment

OKTET Labs Test Environment
Other
5 stars 10 forks source link

xml2dox includes runs outside group/page #36

Open okt-kostik opened 8 months ago

okt-kostik commented 8 months ago

Basically if you have at least one group in the XML it will keep including everythign after that.

diff --git a/scripts/xml2dox b/scripts/xml2dox
index 898a25918..4aa82f3b7 100755
--- a/scripts/xml2dox
+++ b/scripts/xml2dox
@@ -328,7 +328,7 @@ auto_group && in_run && /<\/run>/ {
     next
 }

-in_run {
+in_page && in_run {
     print $0
     next
 }

something like this should solve it.