File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -56,8 +56,6 @@ do_steps: &do_steps
5656 command : |
5757 if [[ $CROSS_COMPILE == *android* ]]; then
5858 emulator -avd Nexus5_API24 -no-window -no-audio -no-boot-anim;
59- elif [[ $CROSS_COMPILE == *freebsd* ]] || [[ -n "$LKL_QEMU_TEST" ]]; then
60- cd /home/ubuntu && eval $QEMU
6159 fi
6260 background : true
6361 - run : cd tools/lkl && make -j8 ${MKARG}
@@ -71,11 +69,6 @@ do_steps: &do_steps
7169 command : |
7270 if [[ $CROSS_COMPILE == *android* ]]; then
7371 /home/ubuntu/circle-android.sh wait-for-boot;
74- elif [[ $CROSS_COMPILE == *freebsd* ]] || [[ -n "$LKL_QEMU_TEST" ]]; then
75- while ! $MYSSH -o ConnectTimeout=1 exit 2> /dev/null
76- do
77- sleep 5
78- done
7972 fi
8073 - run :
8174 name : run tests
@@ -116,13 +109,6 @@ jobs:
116109 ANDROID_SDK_ROOT : /home/ubuntu/android-sdk
117110 << : *do_steps
118111
119- freebsd11_x86_64 :
120- docker :
121- - image : lkldocker/circleci-freebsd11-x86_64:v1.4
122- environment :
123- CROSS_COMPILE : " x86_64-pc-freebsd11-"
124- << : *do_steps
125-
126112 x86_64_valgrind :
127113 docker :
128114 - image : lkldocker/circleci-x86_64:v1.4
@@ -137,7 +123,6 @@ workflows:
137123 build :
138124 jobs :
139125 - android-aarch64
140- - freebsd11_x86_64
141126 - i386
142127 nightly :
143128 triggers :
Original file line number Diff line number Diff line change @@ -165,7 +165,6 @@ jobs:
165165 run : |
166166 make -j4 -C tools/lkl ${{ matrix.build_options }}
167167 - name : Tests
168- if : matrix.displayTargetName != 'freebsd'
169168 run : mkdir junit && make -C tools/lkl run-tests tests="--junit-dir ../../junit"
170169 - name : Save test results
171170 uses : actions/upload-artifact@v5
Original file line number Diff line number Diff line change @@ -117,11 +117,8 @@ lkl_test_exec()
117117 elif file $file | grep -q ARM; then
118118 WRAPPER=" qemu-arm-static"
119119 elif file $file | grep -q " FreeBSD" ; then
120- ssh_copy " $file " $BSD_WDIR
121- if [ -n " $SUDO " ]; then
122- SUDO=" "
123- fi
124- WRAPPER=" $MYSSH $SU "
120+ $MYSCP $file $MYHOST :$BSD_WDIR
121+ WRAPPER=" $MYSSH $SUDO "
125122 # ssh will mess up with pipes ('|') so, escape the pipe char.
126123 args=" ${@// \| / \\\| } "
127124 set - $BSD_WDIR /$( basename $file ) $args
@@ -160,7 +157,8 @@ lkl_test_cmd()
160157 fi
161158 WRAPPER=" adb shell $SU "
162159 elif [ -n " $LKL_HOST_CONFIG_BSD " ]; then
163- WRAPPER=" $MYSSH $SU "
160+ WRAPPER=" $MYSSH "
161+ USER=lkl
164162 fi
165163
166164 echo " $@ " | $WRAPPER sh $SHOPTS
@@ -190,11 +188,6 @@ adb_push()
190188 done
191189}
192190
193- ssh_copy ()
194- {
195- $MYSCP -P 7722 -r $1 root@localhost:$2
196- }
197-
198191lkl_test_android_cleanup ()
199192{
200193 adb shell rm -rf $ANDROID_WDIR
213206
214207if [ -n " $LKL_HOST_CONFIG_BSD " ]; then
215208 trap lkl_test_bsd_cleanup EXIT
216- export BSD_WDIR=/root/ lkl
209+ export BSD_WDIR=lkl
217210 $MYSSH mkdir -p $BSD_WDIR
218211fi
You can’t perform that action at this time.
0 commit comments