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

VMR build script errors for --test #4278

Closed
ellahathaway opened this issue Mar 28, 2024 · 1 comment · Fixed by dotnet/installer#19222
Closed

VMR build script errors for --test #4278

ellahathaway opened this issue Mar 28, 2024 · 1 comment · Fixed by dotnet/installer#19222
Assignees
Labels
area-testing Improvements in CI and testing

Comments

@ellahathaway
Copy link
Member

ellahathaway commented Mar 28, 2024

When running ./build.sh --test, the following error appears:

root@cb7aa5f1f384:~/repos/dotnet# ./build.sh --test

/root/repos/dotnet/build.proj : error MSB4057: The target "RunSmokeTest" does not exist in the project.

Build FAILED.

/root/repos/dotnet/build.proj : error MSB4057: The target "RunSmokeTest" does not exist in the project.
    0 Warning(s)
    1 Error(s)

Looking at the build script for the test option:

    -test|-t)
      export NUGET_PACKAGES=$NUGET_PACKAGES/smoke-tests
      properties="$properties /t:RunSmokeTest"
      test=true
      ;;

The RunSmokeTest target exists in build.sourcebuild.targets.

It looks like dotnet/installer#18358 brought in the changes that are causing this error.

@mthalman
Copy link
Member

mthalman commented Mar 28, 2024

Yeah, the --test option is essentially non-functional without also specifying source build --sb. This will be fixed by dotnet/installer#19222.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-testing Improvements in CI and testing
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants