Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 940928 - app-office/texstudio-4.8.4: add missing src_test()
Summary: app-office/texstudio-4.8.4: add missing src_test()
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: TeX project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-06 08:17 UTC by hsk17
Modified: 2024-10-06 08:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hsk17 2024-10-06 08:17:43 UTC
app-office/texlive-4.8.4-r2.ebuild is missing a src_test().  proposal:

add test USE flag, add to src_configure:
  if use test ; then
    CMAKE_BUILD_TYPE=Debug
    mycmakeargs+=( -DTEXSTUDIO_ENABLE_TESTS=ON )
  fi
and add src_test:
  src_test() {
    cd "${BUILD_DIR}" || die
    QT_QPA_PLATFORM=offscreen ./texstudio --auto-tests
  }

works fine for me, tried on my prefix-guest instance (which is modified to use default texlive2024 from tug.org) and on a standard stable gentoo virtualbox.