mirror of https://github.com/minetest/minetest
Test CSM in CI runs
This commit is contained in:
parent
5b5b4b3eff
commit
0afb6df810
|
|
@ -29,7 +29,7 @@ mkdir -p "$worldpath/worldmods"
|
|||
|
||||
printf '%s\n' >"$testspath/client1.conf" \
|
||||
video_driver=null name=client1 viewing_range=10 \
|
||||
enable_{sound,minimap,post_processing}=false
|
||||
enable_{minimap,post_processing}=false enable_client_modding=true
|
||||
|
||||
printf '%s\n' >"$testspath/server.conf" \
|
||||
max_block_send_distance=1 active_block_range=1 \
|
||||
|
|
@ -44,6 +44,7 @@ echo "Starting server"
|
|||
waitfor "$worldpath/startup"
|
||||
|
||||
echo "Starting client"
|
||||
export ALSOFT_DRIVERS=null
|
||||
"$executable" --debugger --config "$conf_client1" --go --address 127.0.0.1 2>&1 \
|
||||
| sed -u 's/^/(client) /' | tee -a "$testspath/log.txt" &
|
||||
waitfor "$worldpath/done"
|
||||
|
|
|
|||
Loading…
Reference in New Issue