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:
parent
42e582804e
commit
4bd49a0149
@ -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
|
||||||
|
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user