Stefano Lattarini skrev 2011-10-21 19:52: > Hi Peter, sorry to bother you again, but ... > > On Thursday 20 October 2011, Peter Rosin wrote: >>>> diff --git a/tests/defs.in b/tests/defs.in >>>> index 2959f8b..5046a40 100644 >>>> --- a/tests/defs.in >>>> +++ b/tests/defs.in >>>> @@ -278,6 +278,14 @@ do >>>> echo "$me: running javac -version -help" >>>> javac -version -help || exit 77 >>>> ;; >>>> + lib) >>>> + AR=lib >>>> + export AR >>>> + # Attempting to create an empty archive will actually not >>>> + # create the archive, but lib will output its version. >>>> + echo "$me: running $AR -out:defstest.lib" >>>> + ( $AR -out:defstest.lib ) || skip_ "Microsoft \`lib' utility not >>>> available" >>>> + ;; >>> Micro-nit: the subshell here shouldn't be needed. >> >> I'll remove the brackets. >> > ... could you also use `skip_all_' here, rather than `skip_', to work > better with (propsective) TAP-based tests that might require `lib'?
I don't find any reference to skip_all_ in neither msvc nor maint, so that will be something to keep in mind for that special someone that merges this series into whatever branch that has skip_all_. Or have I looked over something? > This is not relevant for the msvc and master branches, but it will be > once those get merged into testsuite-work. Ok, I'm making a note :-) Cheers, Peter