Skip to content

Commit

Permalink
Add a makefile sample to run test-browser (#43382)
Browse files Browse the repository at this point in the history
  • Loading branch information
lewing authored Oct 15, 2020
1 parent e549253 commit c788fe1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/mono/wasm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ TOP=$(realpath $(CURDIR)/../../..)

DOTNET=$(TOP)/dotnet.sh
JSVU=$(HOME)/.jsvu
CHROMEDRIVER?=$(HOME)/.chromedriver

#
# These variables are set by wasm.proj
Expand Down Expand Up @@ -150,6 +151,9 @@ run-tests-jsc-%:
run-tests-%:
PATH="$(JSVU):$(PATH)" $(DOTNET) build $(TOP)/src/libraries/$*/tests/ /t:Test /p:TargetOS=Browser /p:TargetArchitecture=wasm /p:Configuration=$(CONFIG) $(MSBUILD_ARGS)

run-browser-tests-%:
PATH="$(CHROMEDRIVER):$(PATH)" XHARNESS_COMMAND=test-browser $(DOTNET) build $(TOP)/src/libraries/$*/tests/ /t:Test /p:TargetOS=Browser /p:TargetArchitecture=wasm /p:Configuration=$(CONFIG) $(MSBUILD_ARGS)

run-debugger-tests:
if [ ! -z "$(TEST_FILTER)" ]; then \
export LC_ALL=en_US.UTF-8; \
Expand Down

0 comments on commit c788fe1

Please sign in to comment.