#
42181415 |
| 08-Oct-2021 |
Andrew Jones <drjones@redhat.com> |
parse_keyval: Allow hex vals
When parse_keyval was first written we didn't yet have strtol. Now we do, let's give users more flexibility.
Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Ri
parse_keyval: Allow hex vals
When parse_keyval was first written we didn't yet have strtol. Now we do, let's give users more flexibility.
Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Ricardo Koller <ricarkol@google.com> Reviewed-by: Laurent Vivier <lvivier@redhat.com> Message-Id: <20211008070309.84205-1-drjones@redhat.com> Signed-off-by: Andrew Jones <drjones@redhat.com>
show more ...
|
#
aa630322 |
| 27-Jun-2017 |
Thomas Huth <thuth@redhat.com> |
Include util.h to check the prototype with the implementation
util.c should include util.h so that the compiler can check that the prototype from the header matches the implementation. This is requi
Include util.h to check the prototype with the implementation
util.c should include util.h so that the compiler can check that the prototype from the header matches the implementation. This is required for compiling the file with "-Wmissing-prototypes".
Signed-off-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
show more ...
|
#
f1df8658 |
| 29-Feb-2016 |
Paolo Bonzini <pbonzini@redhat.com> |
Merge branch 'ppc64/initial-drop-v7' of https://github.com/rhdrjones/kvm-unit-tests into HEAD
This series brings basic setup; starts a test's C entry point, main(), and printf, exit, and malloc work
Merge branch 'ppc64/initial-drop-v7' of https://github.com/rhdrjones/kvm-unit-tests into HEAD
This series brings basic setup; starts a test's C entry point, main(), and printf, exit, and malloc work. Three more series should follow this one which must bring; vector support, mmu support, and smp support, at which point I believe the framework could just evolve with the creation of unit tests.
Tested on TCG and a P8 kvm_pr machine, and Laurent has tested it on both a PowerMac G5 (kvm_pr) and a kvm_hv machine. I'm looking forward to hearing more testing feedback from others though.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
show more ...
|
#
e7c68b43 |
| 24-Jul-2015 |
Andrew Jones <drjones@redhat.com> |
lib: share arm-selftest utility functions
arm-selftest has a couple utility functions that could be useful to other unit tests, even other architectures. So move them out. split_var moves to lib/uti
lib: share arm-selftest utility functions
arm-selftest has a couple utility functions that could be useful to other unit tests, even other architectures. So move them out. split_var moves to lib/util, where we can add other random utilities over time. assert_args inspires report_abort, which allows us to report a message, using the current prefix, that we're aborting (outputs ABORT vs. PASS/FAIL). This is useful for cases when unit tests can't complete due to missing dependencies of some sort, such as missing/invalid inputs from the user.
Signed-off-by: Andrew Jones <drjones@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Tested-by: Laurent Vivier <lvivier@redhat.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
show more ...
|