https://bugs.kde.org/show_bug.cgi?id=489007

            Bug ID: 489007
           Summary: 6.1.0: test suite fails because it tests system
                    resources instead buid tree
    Classification: Plasma
           Product: xdg-desktop-portal-kde
           Version: git-stable-Plasma/6.1
          Platform: Other
                OS: Other
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: kloczko.tom...@gmail.com
                CC: aleix...@kde.org, jgrul...@redhat.com, n...@kde.org
  Target Milestone: ---

Looks like test suite instead checking build tree is trying to access already
installed xdg-desktop-portal-kde binary

+ /usr/bin/ctest --test-dir x86_64-redhat-linux-gnu --output-on-failure
--force-new-ctest-process -j48
Internal ctest changing into directory:
/home/tkloczko/rpmbuild/BUILD/xdg-desktop-portal-kde-6.1.0/x86_64-redhat-linux-gnu
Test project
/home/tkloczko/rpmbuild/BUILD/xdg-desktop-portal-kde-6.1.0/x86_64-redhat-linux-gnu
    Start 1: xdgshortcuttest
    Start 2: colorschemetest
    Start 3: inputcapturebarriertest
1/3 Test #3: inputcapturebarriertest ..........   Passed    0.01 sec
2/3 Test #1: xdgshortcuttest ..................   Passed    0.02 sec
3/3 Test #2: colorschemetest ..................***Failed    0.11 sec
E
======================================================================
ERROR: setUpClass (__main__.OrgFreeDesktopAppearanceTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/home/tkloczko/rpmbuild/BUILD/xdg-desktop-portal-kde-6.1.0/autotests/colorschemetest.py",
line 51, in setUpClass
    cls.portal_process =
subprocess.Popen([os.path.join(KDE_INSTALL_FULL_LIBEXECDIR,
"xdg-desktop-portal-kde")], env=debug_environ, stdout=sys.stderr,
stderr=sys.stderr)
  File "/usr/lib64/python3.10/subprocess.py", line 971, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib64/python3.10/subprocess.py", line 1863, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory:
'/usr/libexec/xdg-desktop-portal-kde'

----------------------------------------------------------------------
Ran 0 tests in 0.004s

FAILED (errors=1)


67% tests passed, 1 tests failed out of 3

Total Test time (real) =   0.11 sec

The following tests FAILED:
          2 - colorschemetest (Failed)
Errors while running CTest

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to