mirror of
https://github.com/msojocs/wx-compiler.git
synced 2025-07-19 00:00:04 +08:00
perf: 优化环境准备
This commit is contained in:
parent
fd1712480c
commit
194d0151f6
@ -1,5 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
# 代码里不要启动gui
|
||||
docker run -it --volume=.:/c --env=USE_XVFB=yes --env=XVFB_SERVER=:95 --env=XVFB_SCREEN=0 --env=XVFB_RESOLUTION=320x240x8 --env=DISPLAY=:95 --rm --hostname=DESKTOP-1TV4OAG --name=wine --shm-size=1g --workdir=/home/wineuser --env=TZ=Asia/Shanghai --volume=winehome:/home/wineuser -p 8083:8083 scottyhardy/docker-wine:latest wine /c/nwjs-sdk-v0.55.0-win-x64/nw.exe
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
set -e
|
||||
test_dir=$(cd `dirname $0`/.. && pwd -P)
|
||||
|
||||
"$test_dir/runner/nwjs/module-prepare.sh"
|
||||
"$test_dir/spec/issue/prepare.sh"
|
||||
project_dir="$test_dir/projects"
|
||||
|
||||
|
@ -6,11 +6,7 @@ import linux from '../../../runner/module-linux'
|
||||
import windows from '../../../runner/module-windows'
|
||||
import * as fs from 'fs'
|
||||
|
||||
windows.start()
|
||||
describe("wcc - module", function () {
|
||||
this.afterAll(() => {
|
||||
windows.close()
|
||||
})
|
||||
describe("llw: linux output should deep equal with wine", function () {
|
||||
// afterEach(function(){
|
||||
// if(this.currentTest.state === 'failed'){
|
||||
|
@ -6,11 +6,7 @@ import linux from '../../../runner/module-linux'
|
||||
import windows from '../../../runner/module-windows'
|
||||
import * as fs from 'fs'
|
||||
|
||||
windows.start()
|
||||
describe("wcsc - module", function () {
|
||||
this.afterAll(() => {
|
||||
windows.close()
|
||||
})
|
||||
describe("linux output should deep equal with wine", function () {
|
||||
// afterEach(function(){
|
||||
// if(this.currentTest.state === 'failed'){
|
||||
|
Loading…
x
Reference in New Issue
Block a user