Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update TRIPLE
Browse files Browse the repository at this point in the history
Signed-off-by: yzewei <yangzewei@loongson.cn>
yzewei committed Dec 19, 2023
1 parent bb2e452 commit 4802bca
Showing 4 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions src/test-go.bats
Original file line number Diff line number Diff line change
@@ -88,7 +88,6 @@ testEnv() {
@test "loong64-env" {
export TARGETARCH=loong64
testEnv
# skip "LoongArch64 not assert arch"
}

@test "s390x-env" {
@@ -170,7 +169,6 @@ testEnv() {
unset TARGETOS
}


testHelloCGO() {
export CGO_ENABLED=1
xxadd xx-c-essentials
2 changes: 1 addition & 1 deletion src/test-info-alpine.bats
Original file line number Diff line number Diff line change
@@ -75,7 +75,7 @@ load 'assert'
}

@test "loong64" {
assert_equal "loong64-loongnix-server-linux-gnuabi" "$(TARGETPLATFORM=linux/loong64 xx-info triple)"
assert_equal "loong64-alpine-linux-muslabi" "$(TARGETPLATFORM=linux/loong64 xx-info triple)"
assert_equal "loong64" "$(TARGETPLATFORM=linux/loong64 xx-info pkg-arch)"
}

2 changes: 1 addition & 1 deletion src/test-info-debian.bats
Original file line number Diff line number Diff line change
@@ -78,7 +78,7 @@ fi
}

@test "loong64" {
assert_equal "loong64-loongnix-server-linux-gnuabi" "$(TARGETPLATFORM=linux/loong64 xx-info triple)"
assert_equal "loong64-linux-gnuabi" "$(TARGETPLATFORM=linux/loong64 xx-info triple)"
assert_equal "loong64" "$(TARGETPLATFORM=linux/loong64 xx-info pkg-arch)"
}

2 changes: 1 addition & 1 deletion src/xx-verify
Original file line number Diff line number Diff line change
@@ -222,7 +222,7 @@ for f in "$@"; do
;;
"loong64")
expArch="LoongArch-64"
expArch2="64-bit LSB ABI"
expArch2="ELF 64-bit LSB"
;;
"386")
expArch="Intel 80386"

0 comments on commit 4802bca

Please sign in to comment.