Re: VMS progname and exit handling - Take 4

2014-04-03 Thread John E. Malmberg
On 4/1/2014 4:22 PM, h.becker wrote: On 04/01/2014 06:41 AM, John E. Malmberg wrote: If you have the make variable be a MCR command, it has a space which can have side effects when if the resulting string is processed by other strings or macros. You mentioned this already. Can you point me to

Re: Test harness patch for VMS.

2014-04-03 Thread John E. Malmberg
On 4/1/2014 1:14 PM, h.becker wrote: I still can't get it to work: Missed that it also needs the sh as a foreign command to run Bash. Replacement patch attached. Regards, -John 0001-Test-harness-updates-for-VMS-take-2.patch.gz Description: application/gzip

Re: Excessive $(strip)

2014-04-03 Thread Gisle Vanem
Martin Dorey martin.do...@hds.com wrote: this also removes the newlines. ... IMHO make 4.x has a too strict definition of white-space. http://pubs.opengroup.org/onlinepubs/95399/basedefs/xbd_chap07.html sayeth: In the POSIX locale, at a minimum, the space, form-feed, newline,

RE: Excessive $(strip)

2014-04-03 Thread Martin Dorey
Then the make manual is a bit sloppy in the use of whitespace. E.g. from the man-page (3.3 Including Other Makefiles): Whitespace is required between include and the file names, and between file names That sounded all too plausible, so I went through all the mentions of /whitespace/i in

Re: Excessive $(strip)

2014-04-03 Thread J.T. Conklin
Gisle Vanem gva...@yahoo.no writes: Martin Dorey martin.do...@hds.com wrote: this also removes the newlines. ... IMHO make 4.x has a too strict definition of white-space. http://pubs.opengroup.org/onlinepubs/95399/basedefs/xbd_chap07.html sayeth: In the POSIX locale, at a minimum,

Re: VMS progname and exit handling - Take 4

2014-04-03 Thread h.becker
On 04/02/2014 07:15 AM, John E. Malmberg wrote: On 4/1/2014 4:22 PM, h.becker wrote: On 04/01/2014 06:41 AM, John E. Malmberg wrote: If you have the make variable be a MCR command, it has a space which can have side effects when if the resulting string is processed by other strings or macros.

RE: Excessive $(strip)

2014-04-03 Thread Martin Dorey
I'd say that make itself is sloppy wrt whitespace, where sometimes newlines are considered to be whitespace, othertimes not. ... the word family of functions do not. Nice example. The source seems to draw a distinction between isblank, terminology available, I learn, in C99, and the more

Re: VMS progname and exit handling - Take 4

2014-04-03 Thread John E. Malmberg
On 4/3/2014 4:15 PM, h.becker wrote: On 04/02/2014 07:15 AM, John E. Malmberg wrote: snip With 20/20 hindsight, a new set of macros should have been created that returned the data with comma delimiters that could have been used with VMS specific rules and recipes. That can not be done now

vms: tests features - archives - parallelism

2014-04-03 Thread John E. Malmberg
I previously posted the patch for the tests that should currently be skipped on VMS. This is the first part of the changes VMS needs to the tests in the features directory. I am sending the test changes in chunks to keep each commit size down. archives: Most tests are failing. This

vms: test features - patspecific-vars - vpathplus.

2014-04-03 Thread John E. Malmberg
I previously posted the patch for the tests that should currently be skipped on VMS. This is the second part of the changes VMS needs to the tests in the features directory which completes this directory. patspecific_vars: Create a VMS format makefile Skip one test because VMS does

vms: tests functions directory patches.

2014-04-03 Thread John E. Malmberg
This is changes for the functions directory test scripts. dir: The returned path is VMS format. eval: Skip one test on VMS. file: Change to use VMS pipe command. filter-out: VMS escaping is apparently different. foreach: VMS logical names showing up as environment override

vms: tests misc

2014-04-03 Thread John E. Malmberg
This is the patch for the misc tests for VMS. general1: VMS can not handle the line continuation, needs a single line. TODO: there should be a way to make this work on VMS. general3: VMS can not handle the line continuation, skipping 7 tests. general4: CC program on VMS can not do

vms: test options patches.

2014-04-03 Thread John E. Malmberg
These are the patches that VMS needs for the option tests. dash-k: 1 test is failing as it is not aborting when it should. Need posix encoded exit status, exit 1 is a success on VMS. dash-W: VMS vpaths need to be in VMS format. Fix up for null commands and not having a Posix shell.

vms: test targets - INTERMEDIATE

2014-04-03 Thread John E. Malmberg
This is the patch to the targets test for VMS. INTERMEDIATE: Tests are failing because Gnu Make is not echoing the rm command for removing files. Change to use VMS syntax. Regards, -John 0001-vms-test-targets-INTERMEDIATE.patch.gz Description: application/gzip

vms:test variables

2014-04-03 Thread John E. Malmberg
This is the patches for the variables tests on VMS. This is the last of the tests that I have patched so far. variables: Tests are failing because VMS is not handing pre-defined macros in the names. Fixed up some expected output for VMS. GNUMAKEFLAGS: Test is failing because it is

Re: vms:test variables

2014-04-03 Thread Philip Guenther
On Thu, Apr 3, 2014 at 9:56 PM, John E. Malmberg wb8...@qsl.net wrote: This is the patches for the variables tests on VMS. I'm kinda surprised that you haven't worked out some direct coordination with the GNU make developers for the handling of these diffs. I don't see how sending them to the