Re: [Qemu-devel] [PATCH v5 0/3] Add litmus tests for MTTCG consistency tests
Hi Pranith, On 12/01/2016 02:28 AM, Pranith Kumar wrote: Hello, The following patch series adds litmus tests to test consistency for MTTCG enabled qemu. These patches apply on top of the clean up tests/tcg folder made by my previous patch series. The tests were generated using the litmus tool. The sources and instructions on how to generate these sources can be found in this repository: https://github.com/pranith/qemu-litmus I tested these on both an x86 and an Aarch64 machine. These tests are currently enabled for the trusty configuration on travis. Thanks, -- Pranith *** BLURB HERE *** Pranith Kumar (3): tests/tcg: Add i386 litmus test tests/tcg: Add aarch64 litmus tests travis: Enable litmus tests .travis.yml |8 + tests/tcg/aarch64/litmus/ARMARM00.c | 501 + tests/tcg/aarch64/litmus/ARMARM01.c | 504 + tests/tcg/aarch64/litmus/ARMARM02.c | 571 ++ tests/tcg/aarch64/litmus/ARMARM03.c | 498 + tests/tcg/aarch64/litmus/ARMARM04+BIS.c | 556 ++ tests/tcg/aarch64/litmus/ARMARM04+TER.c | 538 ++ tests/tcg/aarch64/litmus/ARMARM04.c | 556 ++ tests/tcg/aarch64/litmus/ARMARM05.c | 553 ++ tests/tcg/aarch64/litmus/ARMARM06+AP+AA.c | 581 +++ tests/tcg/aarch64/litmus/ARMARM06+AP+AP.c | 581 +++ tests/tcg/aarch64/litmus/ARMARM06.c | 581 +++ tests/tcg/aarch64/litmus/ARMARM07+SAL.c | 497 + tests/tcg/aarch64/litmus/Makefile | 53 ++ tests/tcg/aarch64/litmus/README.txt | 22 + tests/tcg/aarch64/litmus/affinity.c | 159 tests/tcg/aarch64/litmus/affinity.h | 34 + tests/tcg/aarch64/litmus/comp.sh | 30 + tests/tcg/aarch64/litmus/litmus_rand.c| 64 ++ tests/tcg/aarch64/litmus/litmus_rand.h| 29 + tests/tcg/aarch64/litmus/outs.c | 148 tests/tcg/aarch64/litmus/outs.h | 49 ++ tests/tcg/aarch64/litmus/run.sh | 378 ++ tests/tcg/aarch64/litmus/show.awk |2 + tests/tcg/aarch64/litmus/utils.c | 1148 + tests/tcg/aarch64/litmus/utils.h | 275 +++ tests/tcg/i386/litmus/Makefile| 42 ++ can you add an entry for both folders into MAINTAINERS please? tests/tcg/i386/litmus/README.txt | 22 + tests/tcg/i386/litmus/SAL.c | 491 tests/tcg/i386/litmus/affinity.c | 159 tests/tcg/i386/litmus/affinity.h | 34 + tests/tcg/i386/litmus/comp.sh | 10 + tests/tcg/i386/litmus/litmus_rand.c | 64 ++ tests/tcg/i386/litmus/litmus_rand.h | 29 + tests/tcg/i386/litmus/outs.c | 148 tests/tcg/i386/litmus/outs.h | 49 ++ tests/tcg/i386/litmus/run.sh | 55 ++ tests/tcg/i386/litmus/show.awk|2 + tests/tcg/i386/litmus/utils.c | 1148 + tests/tcg/i386/litmus/utils.h | 275 +++ 40 files changed, 11444 insertions(+) create mode 100644 tests/tcg/aarch64/litmus/ARMARM00.c create mode 100644 tests/tcg/aarch64/litmus/ARMARM01.c create mode 100644 tests/tcg/aarch64/litmus/ARMARM02.c create mode 100644 tests/tcg/aarch64/litmus/ARMARM03.c create mode 100644 tests/tcg/aarch64/litmus/ARMARM04+BIS.c create mode 100644 tests/tcg/aarch64/litmus/ARMARM04+TER.c create mode 100644 tests/tcg/aarch64/litmus/ARMARM04.c create mode 100644 tests/tcg/aarch64/litmus/ARMARM05.c create mode 100644 tests/tcg/aarch64/litmus/ARMARM06+AP+AA.c create mode 100644 tests/tcg/aarch64/litmus/ARMARM06+AP+AP.c create mode 100644 tests/tcg/aarch64/litmus/ARMARM06.c create mode 100644 tests/tcg/aarch64/litmus/ARMARM07+SAL.c create mode 100644 tests/tcg/aarch64/litmus/Makefile create mode 100644 tests/tcg/aarch64/litmus/README.txt create mode 100644 tests/tcg/aarch64/litmus/affinity.c create mode 100644 tests/tcg/aarch64/litmus/affinity.h create mode 100644 tests/tcg/aarch64/litmus/comp.sh create mode 100644 tests/tcg/aarch64/litmus/litmus_rand.c create mode 100644 tests/tcg/aarch64/litmus/litmus_rand.h create mode 100644 tests/tcg/aarch64/litmus/outs.c create mode 100644 tests/tcg/aarch64/litmus/outs.h create mode 100755 tests/tcg/aarch64/litmus/run.sh create mode 100644 tests/tcg/aarch64/litmus/show.awk create mode 100644 tests/tcg/aarch64/litmus/utils.c create mode 100644 tests/tcg/aarch64/litmus/utils.h create mode 100644 tests/tcg/i386/litmus/Makefile create mode 100644 tests/tcg/i386/litmus/README.txt create mode 100644 tests/tcg/i386/litmus/SAL.c create mode 100644 tests/tcg/i386/litmus/affinity.c create mode 100644 tests/tcg/i386/litmus/affinity.h create mode 100644 tests/tcg/i386/litmus/comp.sh create mode 100644
Re: [Qemu-devel] [PATCH v5 0/3] Add litmus tests for MTTCG consistency tests
On Wed, 01/18 00:00, no-re...@patchew.org wrote: > Hi, > > Your series seems to have some coding style problems. See output below for > more information: Sorry for the noise, looks like it's a network issue during preparation, unrelated to this series. I'll look into suppressing such errors in the future. Fam > > Message-id: 20161201052844.31819-1-bobby.pr...@gmail.com > Subject: [Qemu-devel] [PATCH v5 0/3] Add litmus tests for MTTCG consistency > tests > Type: series > > === TEST SCRIPT BEGIN === > #!/bin/bash > > BASE=base > n=1 > total=$(git log --oneline $BASE.. | wc -l) > failed=0 > > # Useful git options > git config --local diff.renamelimit 0 > git config --local diff.renames True > > commits="$(git log --format=%H --reverse $BASE..)" > for c in $commits; do > echo "Checking PATCH $n/$total: $(git log -n 1 --format=%s $c)..." > if ! git show $c --format=email | ./scripts/checkpatch.pl --mailback -; > then > failed=1 > echo > fi > n=$((n+1)) > done > > exit $failed > === TEST SCRIPT END === > > Updating 3c8cf5a9c21ff8782164d1def7f44bd888713384 > fatal: unable to access 'https://github.com/patchew-project/qemu/': Failed > connect to github.com:443; Operation now in progress > error: Could not fetch 3c8cf5a9c21ff8782164d1def7f44bd888713384 > Traceback (most recent call last): > File "/usr/bin/patchew", line 406, in test_one > git_clone_repo(clone, r["repo"], r["head"], logf) > File "/usr/bin/patchew", line 47, in git_clone_repo > stdout=logf, stderr=logf) > File "/usr/lib64/python3.4/subprocess.py", line 561, in check_call > raise CalledProcessError(retcode, cmd) > subprocess.CalledProcessError: Command '['git', 'remote', 'add', '-f', > '--mirror=fetch', '3c8cf5a9c21ff8782164d1def7f44bd888713384', > 'https://github.com/patchew-project/qemu']' returned non-zero exit status 1 > > > > --- > Email generated automatically by Patchew [http://patchew.org/]. > Please send your feedback to patchew-de...@freelists.org
Re: [Qemu-devel] [PATCH v5 0/3] Add litmus tests for MTTCG consistency tests
Hi, Your series seems to have some coding style problems. See output below for more information: Message-id: 20161201052844.31819-1-bobby.pr...@gmail.com Subject: [Qemu-devel] [PATCH v5 0/3] Add litmus tests for MTTCG consistency tests Type: series === TEST SCRIPT BEGIN === #!/bin/bash BASE=base n=1 total=$(git log --oneline $BASE.. | wc -l) failed=0 # Useful git options git config --local diff.renamelimit 0 git config --local diff.renames True commits="$(git log --format=%H --reverse $BASE..)" for c in $commits; do echo "Checking PATCH $n/$total: $(git log -n 1 --format=%s $c)..." if ! git show $c --format=email | ./scripts/checkpatch.pl --mailback -; then failed=1 echo fi n=$((n+1)) done exit $failed === TEST SCRIPT END === Updating 3c8cf5a9c21ff8782164d1def7f44bd888713384 fatal: unable to access 'https://github.com/patchew-project/qemu/': Failed connect to github.com:443; Operation now in progress error: Could not fetch 3c8cf5a9c21ff8782164d1def7f44bd888713384 Traceback (most recent call last): File "/usr/bin/patchew", line 406, in test_one git_clone_repo(clone, r["repo"], r["head"], logf) File "/usr/bin/patchew", line 47, in git_clone_repo stdout=logf, stderr=logf) File "/usr/lib64/python3.4/subprocess.py", line 561, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['git', 'remote', 'add', '-f', '--mirror=fetch', '3c8cf5a9c21ff8782164d1def7f44bd888713384', 'https://github.com/patchew-project/qemu']' returned non-zero exit status 1 --- Email generated automatically by Patchew [http://patchew.org/]. Please send your feedback to patchew-de...@freelists.org
Re: [Qemu-devel] [PATCH v5 0/3] Add litmus tests for MTTCG consistency tests
Hi, Your series seems to have some coding style problems. See output below for more information: Type: series Message-id: 20161201052844.31819-1-bobby.pr...@gmail.com Subject: [Qemu-devel] [PATCH v5 0/3] Add litmus tests for MTTCG consistency tests === TEST SCRIPT BEGIN === #!/bin/bash BASE=base n=1 total=$(git log --oneline $BASE.. | wc -l) failed=0 # Useful git options git config --local diff.renamelimit 0 git config --local diff.renames True commits="$(git log --format=%H --reverse $BASE..)" for c in $commits; do echo "Checking PATCH $n/$total: $(git log -n 1 --format=%s $c)..." if ! git show $c --format=email | ./scripts/checkpatch.pl --mailback -; then failed=1 echo fi n=$((n+1)) done exit $failed === TEST SCRIPT END === Updating 3c8cf5a9c21ff8782164d1def7f44bd888713384 fatal: unable to access 'https://github.com/patchew-project/qemu/': The requested URL returned error: 504 error: Could not fetch 3c8cf5a9c21ff8782164d1def7f44bd888713384 Traceback (most recent call last): File "/usr/bin/patchew", line 406, in test_one git_clone_repo(clone, r["repo"], r["head"], logf) File "/usr/bin/patchew", line 47, in git_clone_repo stdout=logf, stderr=logf) File "/usr/lib64/python3.4/subprocess.py", line 561, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['git', 'remote', 'add', '-f', '--mirror=fetch', '3c8cf5a9c21ff8782164d1def7f44bd888713384', 'https://github.com/patchew-project/qemu']' returned non-zero exit status 1 --- Email generated automatically by Patchew [http://patchew.org/]. Please send your feedback to patchew-de...@freelists.org
Re: [Qemu-devel] [PATCH v5 0/3] Add litmus tests for MTTCG consistency tests
Pranith Kumarwrites: > Hello, > > The following patch series adds litmus tests to test consistency for > MTTCG enabled qemu. These patches apply on top of the clean up > tests/tcg folder made by my previous patch series. > > The tests were generated using the litmus tool. The sources and > instructions on how to generate these sources can be found in this > repository: https://github.com/pranith/qemu-litmus > > I tested these on both an x86 and an Aarch64 machine. These tests are > currently enabled for the trusty configuration on travis. But how do I build them? The Makefile seems to be directly what the litmus tool output. We either need the makefile in ../ to call the litmus Makefile appropriately or massage the litmus Makefile to work with out build system. > > Thanks, > -- > Pranith > > *** BLURB HERE *** > > Pranith Kumar (3): > tests/tcg: Add i386 litmus test > tests/tcg: Add aarch64 litmus tests > travis: Enable litmus tests > > .travis.yml |8 + > tests/tcg/aarch64/litmus/ARMARM00.c | 501 + > tests/tcg/aarch64/litmus/ARMARM01.c | 504 + > tests/tcg/aarch64/litmus/ARMARM02.c | 571 ++ > tests/tcg/aarch64/litmus/ARMARM03.c | 498 + > tests/tcg/aarch64/litmus/ARMARM04+BIS.c | 556 ++ > tests/tcg/aarch64/litmus/ARMARM04+TER.c | 538 ++ > tests/tcg/aarch64/litmus/ARMARM04.c | 556 ++ > tests/tcg/aarch64/litmus/ARMARM05.c | 553 ++ > tests/tcg/aarch64/litmus/ARMARM06+AP+AA.c | 581 +++ > tests/tcg/aarch64/litmus/ARMARM06+AP+AP.c | 581 +++ > tests/tcg/aarch64/litmus/ARMARM06.c | 581 +++ > tests/tcg/aarch64/litmus/ARMARM07+SAL.c | 497 + > tests/tcg/aarch64/litmus/Makefile | 53 ++ > tests/tcg/aarch64/litmus/README.txt | 22 + > tests/tcg/aarch64/litmus/affinity.c | 159 > tests/tcg/aarch64/litmus/affinity.h | 34 + > tests/tcg/aarch64/litmus/comp.sh | 30 + > tests/tcg/aarch64/litmus/litmus_rand.c| 64 ++ > tests/tcg/aarch64/litmus/litmus_rand.h| 29 + > tests/tcg/aarch64/litmus/outs.c | 148 > tests/tcg/aarch64/litmus/outs.h | 49 ++ > tests/tcg/aarch64/litmus/run.sh | 378 ++ > tests/tcg/aarch64/litmus/show.awk |2 + > tests/tcg/aarch64/litmus/utils.c | 1148 > + > tests/tcg/aarch64/litmus/utils.h | 275 +++ > tests/tcg/i386/litmus/Makefile| 42 ++ > tests/tcg/i386/litmus/README.txt | 22 + > tests/tcg/i386/litmus/SAL.c | 491 > tests/tcg/i386/litmus/affinity.c | 159 > tests/tcg/i386/litmus/affinity.h | 34 + > tests/tcg/i386/litmus/comp.sh | 10 + > tests/tcg/i386/litmus/litmus_rand.c | 64 ++ > tests/tcg/i386/litmus/litmus_rand.h | 29 + > tests/tcg/i386/litmus/outs.c | 148 > tests/tcg/i386/litmus/outs.h | 49 ++ > tests/tcg/i386/litmus/run.sh | 55 ++ > tests/tcg/i386/litmus/show.awk|2 + > tests/tcg/i386/litmus/utils.c | 1148 > + > tests/tcg/i386/litmus/utils.h | 275 +++ > 40 files changed, 11444 insertions(+) > create mode 100644 tests/tcg/aarch64/litmus/ARMARM00.c > create mode 100644 tests/tcg/aarch64/litmus/ARMARM01.c > create mode 100644 tests/tcg/aarch64/litmus/ARMARM02.c > create mode 100644 tests/tcg/aarch64/litmus/ARMARM03.c > create mode 100644 tests/tcg/aarch64/litmus/ARMARM04+BIS.c > create mode 100644 tests/tcg/aarch64/litmus/ARMARM04+TER.c > create mode 100644 tests/tcg/aarch64/litmus/ARMARM04.c > create mode 100644 tests/tcg/aarch64/litmus/ARMARM05.c > create mode 100644 tests/tcg/aarch64/litmus/ARMARM06+AP+AA.c > create mode 100644 tests/tcg/aarch64/litmus/ARMARM06+AP+AP.c > create mode 100644 tests/tcg/aarch64/litmus/ARMARM06.c > create mode 100644 tests/tcg/aarch64/litmus/ARMARM07+SAL.c > create mode 100644 tests/tcg/aarch64/litmus/Makefile > create mode 100644 tests/tcg/aarch64/litmus/README.txt > create mode 100644 tests/tcg/aarch64/litmus/affinity.c > create mode 100644 tests/tcg/aarch64/litmus/affinity.h > create mode 100644 tests/tcg/aarch64/litmus/comp.sh > create mode 100644 tests/tcg/aarch64/litmus/litmus_rand.c > create mode 100644 tests/tcg/aarch64/litmus/litmus_rand.h > create mode 100644 tests/tcg/aarch64/litmus/outs.c > create mode 100644 tests/tcg/aarch64/litmus/outs.h > create mode 100755 tests/tcg/aarch64/litmus/run.sh > create mode 100644 tests/tcg/aarch64/litmus/show.awk > create mode 100644 tests/tcg/aarch64/litmus/utils.c > create mode 100644 tests/tcg/aarch64/litmus/utils.h > create mode 100644 tests/tcg/i386/litmus/Makefile > create mode 100644
[Qemu-devel] [PATCH v5 0/3] Add litmus tests for MTTCG consistency tests
Hello, The following patch series adds litmus tests to test consistency for MTTCG enabled qemu. These patches apply on top of the clean up tests/tcg folder made by my previous patch series. The tests were generated using the litmus tool. The sources and instructions on how to generate these sources can be found in this repository: https://github.com/pranith/qemu-litmus I tested these on both an x86 and an Aarch64 machine. These tests are currently enabled for the trusty configuration on travis. Thanks, -- Pranith *** BLURB HERE *** Pranith Kumar (3): tests/tcg: Add i386 litmus test tests/tcg: Add aarch64 litmus tests travis: Enable litmus tests .travis.yml |8 + tests/tcg/aarch64/litmus/ARMARM00.c | 501 + tests/tcg/aarch64/litmus/ARMARM01.c | 504 + tests/tcg/aarch64/litmus/ARMARM02.c | 571 ++ tests/tcg/aarch64/litmus/ARMARM03.c | 498 + tests/tcg/aarch64/litmus/ARMARM04+BIS.c | 556 ++ tests/tcg/aarch64/litmus/ARMARM04+TER.c | 538 ++ tests/tcg/aarch64/litmus/ARMARM04.c | 556 ++ tests/tcg/aarch64/litmus/ARMARM05.c | 553 ++ tests/tcg/aarch64/litmus/ARMARM06+AP+AA.c | 581 +++ tests/tcg/aarch64/litmus/ARMARM06+AP+AP.c | 581 +++ tests/tcg/aarch64/litmus/ARMARM06.c | 581 +++ tests/tcg/aarch64/litmus/ARMARM07+SAL.c | 497 + tests/tcg/aarch64/litmus/Makefile | 53 ++ tests/tcg/aarch64/litmus/README.txt | 22 + tests/tcg/aarch64/litmus/affinity.c | 159 tests/tcg/aarch64/litmus/affinity.h | 34 + tests/tcg/aarch64/litmus/comp.sh | 30 + tests/tcg/aarch64/litmus/litmus_rand.c| 64 ++ tests/tcg/aarch64/litmus/litmus_rand.h| 29 + tests/tcg/aarch64/litmus/outs.c | 148 tests/tcg/aarch64/litmus/outs.h | 49 ++ tests/tcg/aarch64/litmus/run.sh | 378 ++ tests/tcg/aarch64/litmus/show.awk |2 + tests/tcg/aarch64/litmus/utils.c | 1148 + tests/tcg/aarch64/litmus/utils.h | 275 +++ tests/tcg/i386/litmus/Makefile| 42 ++ tests/tcg/i386/litmus/README.txt | 22 + tests/tcg/i386/litmus/SAL.c | 491 tests/tcg/i386/litmus/affinity.c | 159 tests/tcg/i386/litmus/affinity.h | 34 + tests/tcg/i386/litmus/comp.sh | 10 + tests/tcg/i386/litmus/litmus_rand.c | 64 ++ tests/tcg/i386/litmus/litmus_rand.h | 29 + tests/tcg/i386/litmus/outs.c | 148 tests/tcg/i386/litmus/outs.h | 49 ++ tests/tcg/i386/litmus/run.sh | 55 ++ tests/tcg/i386/litmus/show.awk|2 + tests/tcg/i386/litmus/utils.c | 1148 + tests/tcg/i386/litmus/utils.h | 275 +++ 40 files changed, 11444 insertions(+) create mode 100644 tests/tcg/aarch64/litmus/ARMARM00.c create mode 100644 tests/tcg/aarch64/litmus/ARMARM01.c create mode 100644 tests/tcg/aarch64/litmus/ARMARM02.c create mode 100644 tests/tcg/aarch64/litmus/ARMARM03.c create mode 100644 tests/tcg/aarch64/litmus/ARMARM04+BIS.c create mode 100644 tests/tcg/aarch64/litmus/ARMARM04+TER.c create mode 100644 tests/tcg/aarch64/litmus/ARMARM04.c create mode 100644 tests/tcg/aarch64/litmus/ARMARM05.c create mode 100644 tests/tcg/aarch64/litmus/ARMARM06+AP+AA.c create mode 100644 tests/tcg/aarch64/litmus/ARMARM06+AP+AP.c create mode 100644 tests/tcg/aarch64/litmus/ARMARM06.c create mode 100644 tests/tcg/aarch64/litmus/ARMARM07+SAL.c create mode 100644 tests/tcg/aarch64/litmus/Makefile create mode 100644 tests/tcg/aarch64/litmus/README.txt create mode 100644 tests/tcg/aarch64/litmus/affinity.c create mode 100644 tests/tcg/aarch64/litmus/affinity.h create mode 100644 tests/tcg/aarch64/litmus/comp.sh create mode 100644 tests/tcg/aarch64/litmus/litmus_rand.c create mode 100644 tests/tcg/aarch64/litmus/litmus_rand.h create mode 100644 tests/tcg/aarch64/litmus/outs.c create mode 100644 tests/tcg/aarch64/litmus/outs.h create mode 100755 tests/tcg/aarch64/litmus/run.sh create mode 100644 tests/tcg/aarch64/litmus/show.awk create mode 100644 tests/tcg/aarch64/litmus/utils.c create mode 100644 tests/tcg/aarch64/litmus/utils.h create mode 100644 tests/tcg/i386/litmus/Makefile create mode 100644 tests/tcg/i386/litmus/README.txt create mode 100644 tests/tcg/i386/litmus/SAL.c create mode 100644 tests/tcg/i386/litmus/affinity.c create mode 100644 tests/tcg/i386/litmus/affinity.h create mode 100644 tests/tcg/i386/litmus/comp.sh create mode 100644 tests/tcg/i386/litmus/litmus_rand.c create mode 100644 tests/tcg/i386/litmus/litmus_rand.h create mode 100644 tests/tcg/i386/litmus/outs.c create mode 100644 tests/tcg/i386/litmus/outs.h create mode 100755