Skip to content

test_os.lua:68: expected true but was false #2496

@realroot2185

Description

@realroot2185

What seems to be the problem?
One test fails:

[  PASSED  ] 2331 tests.
[  FAILED  ] 1 tests, listed below:
[  FAILED  ] base_os.findlib_FindSystemLib
/path/premake-core-5.0.0-beta7/tests/base/test_os.lua:68: expected true but was false

How can we reproduce this?
Build premake package.
OS: Alpine Linux v3.22 x86_64

pkgname=premake5
pkgver=5.0.0.7
ver=5.0.0-beta7
pkgrel=0
pkgdesc="Simple build configuration and project generation tool using Lua"
url="https://premake.github.io/"
license="BSD"
arch="all"
makedepends="git make"
depends="openssl"
source="$pkgname-$pkgver.tar.gz::https://github.com/premake/premake-core/archive/refs/tags/v$ver.tar.gz"
builddir="$srcdir/premake-core-$ver"

build() {
  make -f Bootstrap.mak linux
  bin/release/premake5 gmake
  make config=release
}

check(){
  ./bin/release/premake5 test
}

package() {
  install -Dm755 bin/release/premake5 "$pkgdir"/usr/bin/premake5
  install -Dm755 packages/debian/premake.1 "$pkgdir"/usr/share/man/man1/premake5.1
  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/premake-git/LICENSE.txt
}

sha512sums="
b6ed480c85db82d749b22b1b97537da525d8eb062514766393c1ff4fc8077289c0037200b7bc260754f320fd5d9c109cb56adbaeec59d485cd95728564927499  premake5-5.0.0.7.tar.gz
"
  • Visual Studio 2022 (vs2022)
  • Visual Studio 2019 (vs2019)
  • Visual Studio 2017 (vs2017)
  • Visual Studio 2015 (vs2015)
  • Visual Studio 2012 (vs2012)
  • Visual Studio 2010 (vs2010)
  • Visual Studio 2008 (vs2008)
  • Visual Studio 2005 (vs2005)
  • GNU Makefile (gmake)
  • GNU Makefile Legacy (gmakelegacy)
  • XCode (xcode)
  • Codelite
  • Other (Please list below)

What version of Premake are you using?
I tried to package 5.0.0-beta7.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions