Commit Graph
23 Commits
Author SHA1 Message Date
BVK Chaitanya 242f3b11c9 2010-01-20 BVK Chaitanya <bvk.groups@gmail.com>
* include/grub/script_sh.h (sourcecode): Remove const qualifier to
	fix grub-script-check warning.
2010-01-20 12:52:29 +05:30
BVK Chaitanya aca655fd20 fix grub-script-check warnings 2010-01-20 12:48:35 +05:30
BVK Chaitanya a2eaee157c Add missing ChangeLog entry for -r2078 2010-01-18 19:49:19 +05:30
BVK Chaitanya 9ccd8cde97 2010-01-18 BVK Chaitanya <bvk.groups@gmail.com>
Added new tool, grub-scrit-check to verify grub.cfg syntax.

	* util/grub-script-check.c: grub-script-check tool.
	* conf/common.rmk: Make rules for grub-script-check.
2010-01-18 17:59:18 +05:30
BVK Chaitanya 2997c41ffd update copyright year 2010-01-18 16:58:31 +05:30
BVK Chaitanya d8d4217e3c merge trunk 2010-01-18 16:58:03 +05:30
BVK Chaitanya 0934d18466 2010-01-14 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.
2010-01-14 19:15:21 +05:30
BVK Chaitanya 96f60752d1 merge trunk 2010-01-14 18:45:19 +05:30
BVK Chaitanya 2285d4642a use qemu-system-i386 instead of qemu 2010-01-14 18:39:12 +05:30
BVK Chaitanya 0b8891c276 removed unnecessary grub_test_* wrappers 2010-01-14 17:17:51 +05:30
BVK Chaitanya 4d362fde58 build only functional tests on make 2010-01-12 15:49:40 +05:30
BVK Chaitanya 528aeaeabb merge trunk 2010-01-12 11:02:49 +05:30
BVK Chaitanya afafb37e9b added boot device selection to grub-shell 2010-01-12 10:54:37 +05:30
BVK Chaitanya c5431d4029 build tests on make, but run on make check 2010-01-12 10:16:17 +05:30
BVK Chaitanya 350285caae removed unnecessary EXPORT_* macro usage 2010-01-12 09:23:24 +05:30
BVK Chaitanya afdc9ad006 fixed an error message 2010-01-12 09:00:55 +05:30
BVK Chaitanya 337470f1e1 added changelog 2010-01-09 20:31:52 +05:30
BVK Chaitanya 58ad6b39c4 added changelog file 2010-01-09 20:31:33 +05:30
BVK Chaitanya 21a99f5804 added grub-script-check tool 2010-01-09 20:27:58 +05:30
BVK Chaitanya 5cc318eb35 replaced __func__ with simpler __FUNCTION__ macro 2010-01-08 22:06:46 +05:30
BVK Chaitanya 1afc27d06b added changelog file 2010-01-08 21:28:57 +05:30
BVK Chaitanya 169b1cd2d8 added functional tests to make-check 2010-01-08 16:35:32 +05:30
BVK Chaitanya 6fc804ffbb unit testing framework 2010-01-08 15:19:10 +05:30