[CMake] Testing commands that are intended to fail

2016-06-11 Thread John P. Hartmann
Excuse me for asking a no doubt obvious question. The test case (objlink is the executable): add_test( nullobjlink ) The log: Output: -- Positional argument(s) missing. 0 specified, 1 required. Test time = 0.01 sec ---

Re: [CMake] Testing commands that are intended to fail

2016-06-13 Thread Magnus Therning
John P. Hartmann writes: > Excuse me for asking a no doubt obvious question. > > The test case (objlink is the executable): > > add_test( nullobjlink ) > > The log: > > Output: > -- > Positional argument(s) missing. 0 specified, 1 requ