1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

ci: run more tests on the FreeBSD Cirrus runner (#15602)

This commit is contained in:
Davide Beatrici 2022-09-01 20:56:43 +02:00 committed by GitHub
parent 42e582804e
commit 4bd49a0149
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 3 deletions

View File

@ -13,3 +13,6 @@ freebsd_task:
##tcc -v -v ##tcc -v -v
echo 'Build cmd/tools/fast' echo 'Build cmd/tools/fast'
cd cmd/tools/fast && ../../../v fast.v && ./fast -clang cd cmd/tools/fast && ../../../v fast.v && ./fast -clang
echo 'Run test-self'
cd /tmp/cirrus-ci-build/v
VTEST_JUST_ESSENTIAL=1 ./v test-self

View File

@ -215,11 +215,12 @@ fn test_flag_output() {
fn test_asm_generic() { fn test_asm_generic() {
u := u64(49) u := u64(49)
b := unsafe { bool(123) }
assert generic_asm(u) == 14 assert generic_asm(u) == 14
assert u == 63 assert u == 63
assert u64(generic_asm(b)) == 14 //
assert u64(b) == 137 i := i32(123)
assert generic_asm(i) == 14
assert i == 137
} }
fn generic_asm<T>(var &T) T { fn generic_asm<T>(var &T) T {