grub/ChangeLog.unit-testing-framework
2010-01-14 18:39:12 +05:30

61 lines
1.9 KiB
Text

2010-01-14 BVK Chaitanya <bvk@dbook>
Use qemu-system-i386 instead of qemu.
* tests/util/grub-shell.in (outfile): Use qemu-system-i386.
Removed unnecessary grub_test_* wrappers.
* tests/lib/unit_test.c (grub_test_malloc): Removed.
(grub_test_vsprintf): Removed.
(grub_test_strdup): Removed.
(grub_test_printf): Removed.
(grub_test_free): Replaced with....
(grub_free): ...new wrapper.
* tests/lib/functional_test.c (grub_test_malloc): Removed.
(grub_test_free): Removed.
(grub_test_vsprintf): Removed.
(grub_test_strdup): Removed.
(grub_test_printf): Removed.
* tests/lib/test.c: Replaced
grub_test_{malloc,free,strdup,printf,vsprintf} methods with
grub_{malloc,free,strdup,printf,vsprintf} methods.
* include/grub/test.h: Removed prototypes for the above.
2010-01-12 BVK Chaitanya <bvk@dbook>
* tests/util/grub-shell.in: New --boot option.
* conf/tests.rmk: Build functional tests on make.
* Makefile.in (check): Use new variables.
* include/grub/test.h: Remove EXPORT_* usage.
* tests/util/grub-shell-tester.in: Fix error message.
2010-01-08 BVK Chaitanya <bvk.groups@gmail.com>
Unit testing framework for GRUB.
* Makefile.in: Test framework build rules for 'make check'.
* conf/tests.rmk: Build rules for individual tests and framework.
* include/grub/test.h: Header file for whitebox tests.
* tests/lib/functional_test.c: Framework support for whitebox
functional tests.
* tests/lib/test.c: Common whitebox testing code for unit and
functional tests.
* tests/lib/unit_test.c: Framework support for whitebox unit
tests.
* tests/util/grub-shell-tester.in: Support utility for grub-script
tests.
* tests/util/grub-shell.in: Utility to execute grub-script
commands in a Qemu instance.
* tests/example_functional_test.c: Example whitebox functional
test.
* tests/example_grub_script_test.in: Example grub-script test.
* tests/example_scripted_test.in: Example scripted test.
* tests/example_unit_test.c: Example whitebox unit test.