Integrate minimal smoke-test during build-time
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
dotnet6 (Ubuntu) | Status tracked in Mantic | |||||
Jammy |
Triaged
|
Wishlist
|
Unassigned | |||
Lunar |
Triaged
|
Wishlist
|
Unassigned | |||
Mantic |
Triaged
|
Wishlist
|
Unassigned | |||
dotnet7 (Ubuntu) | Status tracked in Mantic | |||||
Jammy |
Triaged
|
Wishlist
|
Unassigned | |||
Lunar |
Triaged
|
Wishlist
|
Unassigned | |||
Mantic |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
As part of the MIR review Christian Ehrhardt suggested adding a small smoke-test during build-time [1]:
> #4 only testing in autopkgtests
>
> I'd prefer to have something not as gigantic in build time tests (read = "I agree to not add the huge thing, but something small maybe", just a reasonable sanity check).
> But that isn't a hard requirement if there are good autopkgtests and there are.
> You have lots of good "make the autopkgtest even better" and that might be where the time is indeed spend better now.
The advantage of this is catching major errors early on. A small smoke test like compiling and running a hello world application should be enough; like:
dotnet new console -o HelloWorld
cd HelloWorld
dotnet run
[1] https:/
Changed in dotnet6 (Ubuntu): | |
importance: | Undecided → Wishlist |
Changed in dotnet7 (Ubuntu): | |
importance: | Undecided → Wishlist |
Changed in dotnet6 (Ubuntu Lunar): | |
importance: | Undecided → Wishlist |
Changed in dotnet6 (Ubuntu Jammy): | |
importance: | Undecided → Wishlist |
Changed in dotnet7 (Ubuntu Lunar): | |
importance: | Undecided → Wishlist |
Changed in dotnet7 (Ubuntu Jammy): | |
importance: | Undecided → Wishlist |
Changed in dotnet6 (Ubuntu Jammy): | |
status: | New → Triaged |
Changed in dotnet6 (Ubuntu Lunar): | |
status: | New → Triaged |
Changed in dotnet6 (Ubuntu Mantic): | |
status: | New → Triaged |
Changed in dotnet7 (Ubuntu Jammy): | |
status: | New → Triaged |
Changed in dotnet7 (Ubuntu Lunar): | |
status: | New → Triaged |
Changed in dotnet7 (Ubuntu Mantic): | |
status: | New → Triaged |
tags: | added: foundations-todo |