mirror of
https://github.com/mudler/luet.git
synced 2025-07-01 01:31:50 +00:00
Renaming clashing test func
This commit is contained in:
parent
bfb2bdc230
commit
1331c3551a
@ -15,17 +15,15 @@ testBuild() {
|
||||
luet build --tree "$ROOT_DIR/tests/fixtures/simple_dep" --destination $tmpdir/testbuild1 test/c
|
||||
buildst=$?
|
||||
assertEquals 'builds successfully' "$buildst" "0"
|
||||
assertTrue 'create package B 1.1' "[ -e '$tmpdir/testbuild1/b-test-1.1.package.tar' ]"
|
||||
assertTrue 'create package A 1.2' "[ -e '$tmpdir/testbuild1/a-test-1.2.package.tar' ]"
|
||||
assertTrue 'create package C 1.0' "[ -e '$tmpdir/testbuild1/c-test-1.0.package.tar' ]"
|
||||
}
|
||||
|
||||
testBuild() {
|
||||
testBuildOnlyTarget() {
|
||||
mkdir $tmpdir/testbuild2
|
||||
luet build --tree "$ROOT_DIR/tests/fixtures/simple_dep" --destination $tmpdir/testbuild2 --only-target-package test/c
|
||||
buildst=$?
|
||||
assertEquals 'builds successfully' "$buildst" "0"
|
||||
assertTrue 'create package B 1.1' "[ ! -e '$tmpdir/testbuild2/b-test-1.1.package.tar' ]"
|
||||
assertTrue 'create package A 1.2' "[ ! -e '$tmpdir/testbuild2/a-test-1.2.package.tar' ]"
|
||||
assertTrue 'create package C 1.0' "[ -e '$tmpdir/testbuild2/c-test-1.0.package.tar' ]"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user