Blame SOURCES/kvm-tests-Simplify-.gitignore.patch

7711c0
From 9cc9f8d61a69620645360e2ff399042ea992067b Mon Sep 17 00:00:00 2001
7711c0
From: John Snow <jsnow@redhat.com>
7711c0
Date: Fri, 22 Mar 2019 03:22:17 +0100
7711c0
Subject: [PATCH 050/163] tests: Simplify .gitignore
7711c0
MIME-Version: 1.0
7711c0
Content-Type: text/plain; charset=UTF-8
7711c0
Content-Transfer-Encoding: 8bit
7711c0
7711c0
RH-Author: John Snow <jsnow@redhat.com>
7711c0
Message-id: <20190322032241.8111-5-jsnow@redhat.com>
7711c0
Patchwork-id: 85088
7711c0
O-Subject: [RHEL-7.7 qemu-kvm-rhev PATCH 04/28] tests: Simplify .gitignore
7711c0
Bugzilla: 1691563
7711c0
RH-Acked-by: Max Reitz <mreitz@redhat.com>
7711c0
RH-Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
7711c0
RH-Acked-by: Miroslav Rezanina <mrezanin@redhat.com>
7711c0
7711c0
From: Eric Blake <eblake@redhat.com>
7711c0
7711c0
Commit 0bcc8e5b was yet another instance of 'git status' reporting
7711c0
dirty files after an in-tree build, thanks to the new binary
7711c0
tests/check-block-qdict.
7711c0
7711c0
Instead of piecemeal exemptions of each new binary as they are
7711c0
added, let's use git's negative globbing feature to exempt ALL
7711c0
files that have a 'test-' or 'check-' prefix, except for the ones
7711c0
ending in '.c' or '.sh'.  We still have a couple of generated
7711c0
files that then need (re-)exclusion, but the overall list is a
7711c0
LOT shorter, and less prone to needing future edits.
7711c0
7711c0
Signed-off-by: Eric Blake <eblake@redhat.com>
7711c0
Message-Id: <20180619203918.65450-1-eblake@redhat.com>
7711c0
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
7711c0
(cherry picked from commit ac5de4984df282d64feb4af33b92e0a75652e2b6)
7711c0
Signed-off-by: John Snow <jsnow@redhat.com>
7711c0
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
7711c0
---
7711c0
 tests/.gitignore | 92 +++-----------------------------------------------------
7711c0
 1 file changed, 5 insertions(+), 87 deletions(-)
7711c0
7711c0
diff --git a/tests/.gitignore b/tests/.gitignore
7711c0
index fb62d22..08e2df1 100644
7711c0
--- a/tests/.gitignore
7711c0
+++ b/tests/.gitignore
7711c0
@@ -2,100 +2,18 @@ atomic_add-bench
7711c0
 benchmark-crypto-cipher
7711c0
 benchmark-crypto-hash
7711c0
 benchmark-crypto-hmac
7711c0
-check-qdict
7711c0
-check-qnum
7711c0
-check-qjson
7711c0
-check-qlist
7711c0
-check-qlit
7711c0
-check-qnull
7711c0
-check-qobject
7711c0
-check-qstring
7711c0
-check-qom-interface
7711c0
-check-qom-proplist
7711c0
+check-*
7711c0
+!check-*.c
7711c0
+!check-*.sh
7711c0
 qht-bench
7711c0
 rcutorture
7711c0
-test-aio
7711c0
-test-aio-multithread
7711c0
-test-arm-mptimer
7711c0
-test-base64
7711c0
-test-bdrv-drain
7711c0
-test-bitops
7711c0
-test-bitcnt
7711c0
-test-blockjob
7711c0
-test-blockjob-txn
7711c0
-test-bufferiszero
7711c0
-test-char
7711c0
-test-clone-visitor
7711c0
-test-coroutine
7711c0
-test-crypto-afsplit
7711c0
-test-crypto-block
7711c0
-test-crypto-cipher
7711c0
-test-crypto-hash
7711c0
-test-crypto-hmac
7711c0
-test-crypto-ivgen
7711c0
-test-crypto-pbkdf
7711c0
-test-crypto-secret
7711c0
-test-crypto-tlscredsx509
7711c0
-test-crypto-tlscredsx509-work/
7711c0
-test-crypto-tlscredsx509-certs/
7711c0
-test-crypto-tlssession
7711c0
-test-crypto-tlssession-work/
7711c0
-test-crypto-tlssession-client/
7711c0
-test-crypto-tlssession-server/
7711c0
-test-crypto-xts
7711c0
-test-cutils
7711c0
-test-hbitmap
7711c0
-test-hmp
7711c0
-test-int128
7711c0
-test-iov
7711c0
-test-io-channel-buffer
7711c0
-test-io-channel-command
7711c0
-test-io-channel-command.fifo
7711c0
-test-io-channel-file
7711c0
-test-io-channel-file.txt
7711c0
-test-io-channel-socket
7711c0
-test-io-channel-tls
7711c0
-test-io-task
7711c0
-test-keyval
7711c0
-test-logging
7711c0
-test-mul64
7711c0
-test-opts-visitor
7711c0
+test-*
7711c0
+!test-*.c
7711c0
 test-qapi-commands.[ch]
7711c0
 test-qapi-events.[ch]
7711c0
 test-qapi-types.[ch]
7711c0
-test-qapi-util
7711c0
 test-qapi-visit.[ch]
7711c0
-test-qdev-global-props
7711c0
-test-qemu-opts
7711c0
-test-qdist
7711c0
-test-qga
7711c0
-test-qht
7711c0
-test-qht-par
7711c0
-test-qmp-cmds
7711c0
-test-qmp-event
7711c0
-test-qobject-input-strict
7711c0
-test-qobject-input-visitor
7711c0
 test-qapi-introspect.[ch]
7711c0
-test-qobject-output-visitor
7711c0
-test-rcu-list
7711c0
-test-replication
7711c0
-test-shift128
7711c0
-test-string-input-visitor
7711c0
-test-string-output-visitor
7711c0
-test-thread-pool
7711c0
-test-throttle
7711c0
-test-timed-average
7711c0
-test-uuid
7711c0
-test-util-sockets
7711c0
-test-visitor-serialization
7711c0
-test-vmstate
7711c0
-test-write-threshold
7711c0
-test-x86-cpuid
7711c0
-test-x86-cpuid-compat
7711c0
-test-xbzrle
7711c0
-test-netfilter
7711c0
-test-filter-mirror
7711c0
-test-filter-redirector
7711c0
 *-test
7711c0
 qapi-schema/*.test.*
7711c0
 vm/*.img
7711c0
-- 
7711c0
1.8.3.1
7711c0