@ -90,7 +90,7 @@ stdenv.mkDerivation rec {
# Disable specific tests
substituteInPlace src/dir.proj \
- - replace ' dotnet test Test/Test.csproj ' \
" d o t n e t t e s t T e s t / T e s t . c s p r o j - - f i l t e r ' ${ lib . concatStringsSep " & a m p ; " disabledTests } ' "
" d o t n e t t e s t T e s t / T e s t . c s p r o j - - f i l t e r ' ${ lib . concatStringsSep " & a m p ; " ( map ( x : " F u l l y Q u a l i f i e d N a m e ! = ${ x } " ) disabledTests ) } ' "
# We don't use a Git checkout
substituteInPlace src/dir.proj \
@ -137,10 +137,10 @@ stdenv.mkDerivation rec {
doCheck = true ;
# Fully qualified name of disabled tests
disabledTests =
[ " F u l l y Q u a l i f i e d N a m e ! = G i t H u b . R u n n e r . C o m m o n . T e s t s . L i s t e n e r . S e l f U p d a t e r L 0 . T e s t S e l f U p d a t e A s y n c " ] ++ map
( x : " F u l l y Q u a l i f i e d N a m e ! = G i t H u b . R u n n e r . C o m m o n . T e s t s . L i s t e n e r . S e l f U p d a t e r L 0 . T e s t S e l f U p d a t e A s y n c _ ${ x } " )
[
[ " G i t H u b . R u n n e r . C o m m o n . T e s t s . L i s t e n e r . S e l f U p d a t e r L 0 . T e s t S e l f U p d a t e A s y n c " ]
++ map ( x : " G i t H u b . R u n n e r . C o m m o n . T e s t s . L i s t e n e r . S e l f U p d a t e r L 0 . T e s t S e l f U p d a t e A s y n c _ ${ x } " ) [
" C a n c e l _ C l o n e H a s h T a s k _ W h e n N o t N e e d e d "
" C l o n e H a s h _ R u n t i m e A n d E x t e r n a l s "
" D o w n l o a d R e t r y "
@ -150,15 +150,8 @@ stdenv.mkDerivation rec {
" U s e E x t e r n a l s R u n t i m e T r i m m e d P a c k a g e "
" U s e E x t e r n a l s T r i m m e d P a c k a g e "
" V a l i d a t e H a s h "
] ++ [
" F u l l y Q u a l i f i e d N a m e ! = G i t H u b . R u n n e r . C o m m o n . T e s t s . L i s t e n e r . R u n n e r L 0 . T e s t R u n O n c e H a n d l e U p d a t e M e s s a g e "
] ++ lib . optionals ( stdenv . hostPlatform . system == " a a r c h 6 4 - l i n u x " ) [
# "JavaScript Actions in Alpine containers are only supported on x64 Linux runners. Detected Linux Arm64"
" F u l l y Q u a l i f i e d N a m e ! = G i t H u b . R u n n e r . C o m m o n . T e s t s . W o r k e r . S t e p H o s t L 0 . D e t e r m i n e N o d e R u n t i m e V e r s i o n I n A l p i n e C o n t a i n e r A s y n c "
] ++ map
# Online tests
( x : " F u l l y Q u a l i f i e d N a m e ! = G i t H u b . R u n n e r . C o m m o n . T e s t s . W o r k e r . A c t i o n M a n a g e r L 0 . P r e p a r e A c t i o n s _ ${ x } " )
[
]
++ map ( x : " G i t H u b . R u n n e r . C o m m o n . T e s t s . W o r k e r . A c t i o n M a n a g e r L 0 . P r e p a r e A c t i o n s _ ${ x } " ) [
" C o m p o s i t e A c t i o n W i t h A c t i o n f i l e _ C o m p o s i t e C o n t a i n e r N e s t e d "
" C o m p o s i t e A c t i o n W i t h A c t i o n f i l e _ C o m p o s i t e P r e s t e p N e s t e d "
" C o m p o s i t e A c t i o n W i t h A c t i o n f i l e _ M a x L i m i t "
@ -188,11 +181,15 @@ stdenv.mkDerivation rec {
" R e p o s i t o r y A c t i o n W i t h I n v a l i d W r a p p e r A c t i o n f i l e _ N o d e _ L e g a c y "
" R e p o s i t o r y A c t i o n W i t h W r a p p e r A c t i o n f i l e _ P r e S t e p s "
" R e p o s i t o r y A c t i o n W i t h W r a p p e r A c t i o n f i l e _ P r e S t e p s _ L e g a c y "
] ++ map
( x : " F u l l y Q u a l i f i e d N a m e ! = G i t H u b . R u n n e r . C o m m o n . T e s t s . D o t n e t s d k D o w n l o a d S c r i p t L 0 . ${ x } " )
[
]
++ map ( x : " G i t H u b . R u n n e r . C o m m o n . T e s t s . D o t n e t s d k D o w n l o a d S c r i p t L 0 . ${ x } " ) [
" E n s u r e D o t n e t s d k B a s h D o w n l o a d S c r i p t U p T o D a t e "
" E n s u r e D o t n e t s d k P o w e r s h e l l D o w n l o a d S c r i p t U p T o D a t e "
]
++ [ " G i t H u b . R u n n e r . C o m m o n . T e s t s . L i s t e n e r . R u n n e r L 0 . T e s t R u n O n c e H a n d l e U p d a t e M e s s a g e " ]
++ lib . optionals ( stdenv . hostPlatform . system == " a a r c h 6 4 - l i n u x " ) [
# "JavaScript Actions in Alpine containers are only supported on x64 Linux runners. Detected Linux Arm64"
" G i t H u b . R u n n e r . C o m m o n . T e s t s . W o r k e r . S t e p H o s t L 0 . D e t e r m i n e N o d e R u n t i m e V e r s i o n I n A l p i n e C o n t a i n e r A s y n c "
] ;
checkInputs = [ git ] ;
@ -204,6 +201,8 @@ stdenv.mkDerivation rec {
ln - s $ { nodejs-12_x } _layout/externals/node12
ln - s $ { nodejs-16_x } _layout/externals/node16
printf ' Disabled tests : \ n % s \ n' ' $ { lib . concatMapStringsSep " \n " ( x : " - ${ x } " ) disabledTests } '
# BUILDCONFIG needs to be "Debug"
dotnet msbuild \
- t:test \