Skip to contentSkip to conversation

tests: Ignore another built executable

PATCH In review Eric Blake 5 participants 5 messages Apr 28, 2017 – May 5, 2017

lore
Share & tools
lore

Eric Blake

author
#0 lore raw

PATCH 1/1 tests: Ignore another built executable

Commit 78f86a2b7 added a new test, but forgot to exclude the built binary from version control.

---
 tests/.gitignore | 1 +
 1 file changed, 1 insertion(+)
tests/.gitignore +1 -0
index 5ab00a9..40c2e3e 100644
@@ -40,6 +40,7 @@ test-crypto-tlssession-server/
 test-crypto-xts
 test-cutils
 test-hbitmap
+test-hmp
 test-int128
 test-iov
 test-io-channel-buffer
Signature · 1 line
2.9.3
Reviewed-by on v1 1/1
#1 lore raw
Quoted 13 lines · Eric Blake

Commit 78f86a2b7 added a new test, but forgot to exclude the built binary from version control.

---
 tests/.gitignore | 1 +
 1 file changed, 1 insertion(+)
tests/.gitignore +0 -0
index 5ab00a9..40c2e3e 100644

tests/.gitignore test-crypto-tlssession-server/ · line 46

Quoted 7 lines
tests/.gitignore +1 -0
@@ -40,6 +40,7 @@ test-crypto-tlssession-server/
 test-crypto-xts
 test-cutils
 test-hbitmap
+test-hmp
 test-int128
 test-iov
 test-io-channel-buffer

Ah, ok, I'm only doing out-of-tree builds, that's why I did not notice this...

#2 lore raw
In reply to Eric Blake
Quoted 2 lines · Eric Blake

Commit 78f86a2b7 added a new test, but forgot to exclude the built binary from version control.

CC Fam

I wonder if the patchew test system could be made to report an error if git identifies built files that are not ignored.

Regards,
Daniel

Signature · 3 lines
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|
#4 lore raw
In reply to Eric Blake
Quoted 2 lines · Eric Blake

Commit 78f86a2b7 added a new test, but forgot to exclude the built binary from version control.

Applied to -trivial (adding mention of test-hmp to subject), thanks!

/mjt

#3 lore raw
In reply to Daniel P. Berrange
Quoted 9 lines · Daniel P. Berrange
Quoted 2 lines · Eric Blake

Commit 78f86a2b7 added a new test, but forgot to exclude the built binary from version control.

CC Fam

I wonder if the patchew test system could be made to report an error if git identifies built files that are not ignored.

If we had .git in the docker tests that patchew uses, it would be easy. That's an unfortunate dependency for a number of other features, I'll see what I can do.

Fam