mazen Adel commented on a discussion on c-user/barrier/directives.md: 
https://gitlab.rtems.org/rtems/docs/rtems-docs/-/merge_requests/167#note_122560

 >  - The directive may be called from within task context.
 >  - The directive may unblock a task. This may cause the calling task to be
 >    preempted.
 > +
 > +% Generated from spec:/rtems/barrier/if/get-number-waiting

I have some tests failing when pushing to my forked version of central so I 
can't make a MR

there seems to be a problem when I push to central It runs some tests and one 
of them is failing`rtemsspec/tests/test_packagebuild.py::test_packagebuild 
FAILED`

I ran the tests on a fresh branch from the remote main and it failed too

the error in the logs is 
-----------------------------------------------------------------------------------------------

```
===================================================================================================
 FAILURES 
====================================================================================================
_______________________________________________________________________________________________
 test_packagebuild 
_______________________________________________________________________________________________

caplog = <_pytest.logging.LogCaptureFixture object at 0x741a1ddabc80>, tmpdir = 
local('/tmp/pytest-of-mazen/pytest-3/test_packagebuild0')
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x741a1ddab440>

    def test_packagebuild(caplog, tmpdir, monkeypatch):
        tmp_dir = Path(tmpdir)
        tmp_dir_len = len(str(tmp_dir))
        item_cache = _create_item_cache(tmp_dir, Path("spec-packagebuild"))
    
        caplog.set_level(logging.WARN)
        verify_config = {"root-type": "/spec/root"}
        status = verify(verify_config, item_cache)
        assert status.critical == 0
>       assert status.error == 0
E       assert 2 == 0
E        +  where 2 = VerifyStatus(critical=0, error=2, warning=0, info=0, 
debug=0).error

/home/mazen/Desktop/RTEMS/central/rtems-central/rtemsspec/tests/test_packagebuild.py:232:
 AssertionError
-----------------------------------------------------------------------------------------------
 Captured log call 
-----------------------------------------------------------------------------------------------
ERROR    root:specverify.py:386 /rtems/val/mem-basic: unknown subtype for key 
'type' for type 'root': memory-benchmark
ERROR    root:specverify.py:396 /rtems/val/mem-basic: has unverfied keys for 
type 'root' and its subtypes: ['test-brief', 'test-code', 'test-description', 
'test-includes', 'test-local-includes', 'test-target']
===============================================================================================
 warnings summary 
================================================================================================
rtemsspec/tests/test_directorystate.py::test_directorystate
```

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/docs/rtems-docs/-/merge_requests/167#note_122560
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to