On 16/05/12 14:56, Onkar N Mahajan wrote:
> I am trying to do this :
>
> # ../../shared/cartesian_config.py -c subtests.cfg tests.cfg
> guest-os.cfg

What's the content of those config file ?

> "libvirt_rhel6X_quick.no_9p_export.smallpages.no_pci_assignable.raw.ide.smp2.virtio_net.Linux.RHEL.6.X.x86_64.unattended_install.cdrom"

It seems this line is wrong, lost a "only" at the beginning?


> Traceback (most recent call last):
>    File "../../shared/cartesian_config.py", line 701, in<module>
>      c.parse_string(s)
>    File "../../shared/cartesian_config.py", line 237, in parse_string
>      self.node = self._parse(StrReader(s), self.node)
>    File "../../shared/cartesian_config.py", line 525, in _parse
>      raise ParserError("Syntax error", line, cr.filename, linenum)
> __main__.ParserError: Syntax error: 'tests.cfg' (<string>:1)
>
>
> Then I combined all the above *.cfg files into a single file :
>
> # cat *.cfg>  onnm.cfg
> and then did :
>
> # ../../shared/cartesian_config.py -c onnm.cfg
> "libvirt_rhel6X_quick.no_9p_export.smallpages.no_pci_assignable.raw.ide.smp2.virtio_net.Linux.RHEL.6.X.x86_64.unattended_install.cdrom"
> Traceback (most recent call last):
>    File "../../shared/cartesian_config.py", line 701, in<module>
>      c.parse_string(s)
>    File "../../shared/cartesian_config.py", line 237, in parse_string
>      self.node = self._parse(StrReader(s), self.node)
>    File "../../shared/cartesian_config.py", line 525, in _parse
>      raise ParserError("Syntax error", line, cr.filename, linenum)
> __main__.ParserError: Syntax error:
> 'libvirt_rhel6X_quick.no_9p_export.smallpages.no_pci_assignable.raw.ide.smp2.virtio_net.Linux.RHEL.6.X.x86_64.unattended_install.cdrom'
>  (<string>:1)
>

-- 
                        Amos.
_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to