File tree 3 files changed +15
-0
lines changed
test/fixtures/definitions
3 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ test-target: bats
23
23
src/configure; \
24
24
make -C src; \
25
25
fi ; \
26
+ unset $$ {! GOENV_* }; \
26
27
test_target=$$ {test_target:-test}; \
27
28
exec bats $(TEST_TARGET_ARGS ) ;
28
29
@@ -33,6 +34,7 @@ test-goenv: bats
33
34
src/configure; \
34
35
make -C src; \
35
36
fi ; \
37
+ unset $$ {! GOENV_* }; \
36
38
test_target=$$ {test_target:-test}; \
37
39
exec bats $$ {CI:+--tap} $$ test_target;
38
40
@@ -48,6 +50,7 @@ run-goenv-go-build-tests:
48
50
src/configure; \
49
51
make -C src; \
50
52
fi ; \
53
+ unset $$ {! GOENV_* }; \
51
54
test_target=$$ {test_target:-test}; \
52
55
cd plugins/go-build; \
53
56
exec bats $$ {CI:+--tap} $$ test_target;
Original file line number Diff line number Diff line change @@ -280,6 +280,16 @@ install_linux_arm() {
280
280
fi
281
281
}
282
282
283
+ install_bsd_arm () {
284
+ if [ " $( uname -s) " = " FreeBSD" ]; then
285
+ local arch=" $( uname -m) "
286
+
287
+ if [ $arch = " aarch64" ] || [ $arch = " armv6" ] || [ $arch = " armv7" ]; then
288
+ install_package_using " tarball" 1 " $@ "
289
+ fi
290
+ fi
291
+ }
292
+
283
293
install_bsd_64bit () {
284
294
if [ " $( uname -s) " = " FreeBSD" ]; then
285
295
local arch=" $( uname -m) "
Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ install_darwin_108_32bit "Go Darwin 10.8 32bit 1.2.2" "http://localhost:8090/1.2
6
6
7
7
install_darwin_108_64bit "Go Darwin 10.8 64bit 1.2.2" "http://localhost:8090/1.2.2/1.2.2.tar.gz#d7518d03fc9d7ac1d32c49358594ff6517712c3d3de4f80ebaa3229361f38937"
8
8
9
+ install_bsd_arm "Go FreeBSD arm 1.2.2" "http://localhost:8090/1.2.2/1.2.2.tar.gz#d7518d03fc9d7ac1d32c49358594ff6517712c3d3de4f80ebaa3229361f38937"
10
+
9
11
install_bsd_64bit "Go FreeBSD 64bit 1.2.2" "http://localhost:8090/1.2.2/1.2.2.tar.gz#d7518d03fc9d7ac1d32c49358594ff6517712c3d3de4f80ebaa3229361f38937"
10
12
11
13
install_bsd_32bit "Go FreeBSD 32bit 1.2.2" "http://localhost:8090/1.2.2/1.2.2.tar.gz#d7518d03fc9d7ac1d32c49358594ff6517712c3d3de4f80ebaa3229361f38937"
You can’t perform that action at this time.
0 commit comments