rtems-central: spec2module fails with no changes to repos

Joel Sherrill joel at rtems.org
Wed Aug 10 21:11:01 UTC 2022


Hi

It looks like the rtems-central repo fails when spec2modules is run on it
currently with no local changes.

env) [joel at localhost rtems-central]$ ./spec2modules.py Traceback (most
recent call last):
  File "/home/joel/rtems-work/rtems/rtems-central/rtemsspec/validation.py",
line 202, in add_test_case_description
    test_suites = test_case_to_suites[self.uid]
KeyError: '/score/thread/val/idle-body-no-return'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "./spec2modules.py", line 84, in <module>
    main()
  File "./spec2modules.py", line 72, in main
    args.targets)
  File "/home/joel/rtems-work/rtems/rtems-central/rtemsspec/validation.py",
line 1193, in generate
    src.generate(config["base-directory"], test_case_to_suites)
  File "/home/joel/rtems-work/rtems/rtems-central/rtemsspec/validation.py",
line 1076, in generate
    item.generate(content, base_directory, test_case_to_suites)
  File "/home/joel/rtems-work/rtems/rtems-central/rtemsspec/validation.py",
line 449, in generate
    self.add_test_case_description(content, test_case_to_suites)
  File "/home/joel/rtems-work/rtems/rtems-central/rtemsspec/validation.py",
line 207, in add_test_case_description
    raise ValueError(msg) from err
ValueError: the target file
'testsuites/validation/tc-thread-idle-body-no-return.c' of
spec:/score/thread/val/idle-body-no-return is not a source file of an item
of type 'build/test-program'

Thanks.

--joel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20220810/cd88d6d4/attachment.htm>


More information about the devel mailing list