Thread (5 messages) flat view 5 messages, 2 authors, 2016-06-15

Re: [PATCH] Add test-chmtime: a utility to change mtime on files

From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:42:56

Hi,

On Sat, 24 Feb 2007, Eric Wong wrote:
This is intended to be a portable replacement for our usage
of date(1), touch(1), and Perl one-liners in tests.
This is a cute idea!
quoted hunk ↗ jump to hunk
diff --git a/Makefile b/Makefile
index e51b448..105f3ec 100644
--- a/Makefile
+++ b/Makefile
@@ -829,7 +829,7 @@ GIT-CFLAGS: .FORCE-GIT-CFLAGS
 
 export NO_SVN_TESTS
 
-test: all
+test: all test-chmtime$X
That is nice! This says that the program should be only compiled before 
running the tests. However, you can run the tests also by "cd t; make", 
and even by "cd t; sh tDDDD-*.sh", so I think a check in the tests should 
be added, which tests for executability of test-chmtime.

Ciao,
Dscho
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help