Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[wasm][debugger][tests] Make dotnet test DebuggerTestSuite.csproj work #43158

Merged
merged 3 commits into from
Oct 9, 2020

Conversation

radical
Copy link
Member

@radical radical commented Oct 8, 2020

Now, the tests can be run with dotnet test DebuggerTestSuite.csproj.
and the existing make run-debugger-tests still works.

Changes:

  • We don't need to use wasmAppBuilder for all the test projects, only
    debugger-test.

    • Other assemblies just get bundled with debugger-test
  • Move common properties to Directory.Build.*

  • And move the settings being used for debugger-test in the Makefile to
    msbuild:

    • RuntimeConfiguration defaults to Release, same as what the
      Makefile did
  • build all the debugger-tests in artifacts dir

  • And instead of TEST_SUITE_PATH, determine the debugger-tests path
    based on the testsuite itself.

  • We can then remove build-debugger-test-app

Now, the tests can be run with `dotnet test DebuggerTestSuite.csproj`.
and the existing `make run-debugger-tests` still works.

Changes:

- We don't need to use wasmAppBuilder for all the test projects, only
`debugger-test`.
	- Other assemblies just get bundled with `debugger-test`

- Move common properties to `Directory.Build.*`
- And move the settings being used for debugger-test in the Makefile to
msbuild:
	- RuntimeConfiguration defaults to Release, same as what the
	Makefile did

- build all the debugger-tests in artifacts dir
- And instead of `TEST_SUITE_PATH`, determine the debugger-tests path
based on the testsuite itself.

- We can then remove `build-debugger-test-app`
@ghost
Copy link

ghost commented Oct 8, 2020

Tagging subscribers to this area: @thaystg
See info in area-owners.md if you want to be subscribed.

@radical radical requested a review from akoeplinger October 8, 2020 04:14
@radical radical changed the title [wasm][debugger][tests] Simplify test project files [wasm][debugger][tests] Make dotnet test DebuggerTestSuite.csproj work Oct 8, 2020
@lewing
Copy link
Member

lewing commented Oct 8, 2020

Failures are #43091 and #43166 and unrelated to the change.

@lewing lewing merged commit 0fa26b3 into dotnet:master Oct 9, 2020
@radical radical deleted the wasm-dbgr-tests-simplify-run branch October 12, 2020 06:24
@ghost ghost locked as resolved and limited conversation to collaborators Dec 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants