Mercurial > hg
view contrib/hgsh/Makefile @ 47182:dff19fe2973c stable
run-tests: fix whitelist/blacklist with directories on Windows
The file name is resolved with `os.path.relpath()` in the `Test` constructor,
which yields `\` on Windows. That doesn't match the `/` separator when using
MSYS tools to build the list, and it isn't obvious that this is the problem
because directory separators can mostly be used interchangeably. The
`--test-list` argument already seems to be properly handled.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Wed, 05 May 2021 17:47:30 -0400 |
parents | dbbe7f72d15a |
children |
line wrap: on
line source
CC := gcc CFLAGS := -g -O2 -Wall -Werror prefix ?= /usr/bin hgsh: hgsh.o $(CC) -o $@ $< install: hgsh install -m755 hgsh $(prefix) clean: rm -f *.o hgsh