diff mbox

Add .gitignore for tests/

Message ID 1334886024-27969-1-git-send-email-david@gibson.dropbear.id.au
State New
Headers show

Commit Message

David Gibson April 20, 2012, 1:40 a.m. UTC
The new autotests in tests/ generate a number of files, both
executable and source, which are not caught by the existing .gitignore
files.  This patch adds a new .gitignore in tests/ which covers these.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
---
 tests/.gitignore |   13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 tests/.gitignore

\ No newline at end of file

Comments

Stefan Hajnoczi April 20, 2012, 12:21 p.m. UTC | #1
On Fri, Apr 20, 2012 at 11:40:24AM +1000, David Gibson wrote:
> The new autotests in tests/ generate a number of files, both
> executable and source, which are not caught by the existing .gitignore
> files.  This patch adds a new .gitignore in tests/ which covers these.
> 
> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
> ---
>  tests/.gitignore |   13 +++++++++++++
>  1 file changed, 13 insertions(+)
>  create mode 100644 tests/.gitignore

I sent a similar patch recently but yours is more comprehensive.  I've
made one small change: instead of 'rtc-test' ignore 'tests/*-test' so
that future tests do not need to be added to .gitignore on a
case-by-case basis.

Thanks, applied to the trivial patches tree:
https://github.com/stefanha/qemu/commits/trivial-patches

Stefan
diff mbox

Patch

diff --git a/tests/.gitignore b/tests/.gitignore
new file mode 100644
index 0000000..4e43286
--- /dev/null
+++ b/tests/.gitignore
@@ -0,0 +1,13 @@ 
+check-qdict
+check-qfloat
+check-qint
+check-qjson
+check-qlist
+check-qstring
+test-qapi-types.[ch]
+test-qapi-visit.[ch]
+test-qmp-commands.h
+test-qmp-commands
+test-qmp-input-strict
+test-qmp-marshal.c
+rtc-test