[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: vms:test variables

From: h.becker
Subject: Re: vms:test variables
Date: Sat, 05 Apr 2014 02:05:00 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130519 Icedove/17.0.5

On 04/04/2014 06:56 AM, John E. Malmberg wrote:
> variables:
>   Tests are failing because VMS is not handing pre-defined macros
>   "<" in the names.
>   Fixed up some expected output for VMS.

At the moment I don't have full access to the net so I can't test this
on a system with perl installed. I only picked one test case, which I
locally ran on 7.3, so I may be totally off.

Anyway, are you talking about automatic tests within the variables test
suite? For example, there are some '<'s in

.SUFFIXES: .x .y .z
../tests/foo.x : baz.z ../tests/bar.y baz.z
        @echo '$$@ = $@, $$(@D) = $(@D), $$(@F) = $(@F)'
        @echo '$$* = $*, $$(*D) = $(*D), $$(*F) = $(*F)'
        @echo '$$< = $<, $$(<D) = $(<D), $$(<F) = $(<F)'
        @echo '$$^ = $^, $$(^D) = $(^D), $$(^F) = $(^F)'
        @echo '$$+ = $+, $$(+D) = $(+D), $$(+F) = $(+F)'
        @echo '$$? = $?, $$(?D) = $(?D), $$(?F) = $(?F)'
        touch $@
../tests/bar.y baz.z : ; touch $@

After modifying that for VMS (especiall using write sys$output) I do not
see any problem with any of the '<'s. (I see problems with $(^D), $(+D)
and $(?D) - and other incorrect values may be caused by the same
underlying problem - but I want to double check the results on a newer

What's your echo command? Are you using that without VMS style quoting
of the text? Without such quotes the VMS specific input redirection will
kick in and may cause problems.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]