Vladimir 'phcoder' Serbinenko
99519c154c
* grub-core/tests/video_checksum.c (grub_video_capture_write_bmp):
...
Use GRUB_UTIL_FD_O_* rather than O_*.
2013-10-19 23:48:24 +02:00
Vladimir Testov
71237a6f0f
* grub-core/tests/checksums.h: Regenerated due to progress bar
...
get_minimal_size changes.
2013-10-18 16:11:48 +04:00
Vladimir 'phcoder' Serbinenko
f4e0adc0f9
Remove leftover references to some of the system headers.
2013-10-15 17:59:54 +02:00
Vladimir 'phcoder' Serbinenko
c018c968cd
* grub-core/tests/checksums.h: Regenerate due to swiss.sed change.
2013-10-15 13:28:19 +02:00
Vladimir 'phcoder' Serbinenko
7e45abcef4
Move cpu time retrieval to separate grub_util_get_cpu_time_ms
...
and remove export.h.
2013-10-15 13:13:53 +02:00
Vladimir 'phcoder' Serbinenko
25ac643a54
* grub-core/tests/video_checksum.c: Use grub_util_fd_* rather than
...
open/read/write.
2013-10-15 11:06:57 +02:00
Vladimir 'phcoder' Serbinenko
d71b45ae8e
* grub-core/tests/video_checksum.c: Increase robustness to out of memory
...
condition.
* grub-core/tests/fake_input.c: Likewise.
* grub-core/tests/cmdline_cat_test.c: Likewise.
2013-10-03 23:38:18 +02:00
Vladimir Testov
be74aeb39e
* grub-core/tests/checksums.h: Corrected due to changes in
...
bilinear interpolation function.
2013-10-01 18:00:53 +04:00
Vladimir Testov
b47434612c
* docs/grub.texi: Introduce terminal window position options:
...
terminal-left: terminal window's left position
terminal-top: terminal window's top position
terminal-width: terminal window's width
terminal-height: terminal window's height
* grub-core/gfxmenu/theme-loader.c: Likewise.
* include/grub/gfxmenu_view.h: Likewise.
* po/exlude.pot: Likewise.
* grub-core/gfxmenu/view.c: Likewise.
Also updated minimal window size.
Also terminal_sanity_check function has been introduced.
2013-08-08 12:55:24 +04:00
Vladimir 'phcoder' Serbinenko
748a4533f5
* grub-core/tests/checksums.h: Update (1-pixel difference in marker
...
position).
2013-08-02 23:19:17 +02:00
Vladimir 'phcoder' Serbinenko
cdce14fad4
Progressively skip menu elements on small terminals rather
...
than crashing.
2013-05-14 08:57:18 +02:00
Vladimir 'phcoder' Serbinenko
709ad61b07
* grub-core/tests/setjmp_test.c: Ignore missing noreturn.
2013-05-11 10:17:19 +02:00
Vladimir 'phcoder' Serbinenko
0e7b2e3217
New test: cmdline and cat.
2013-05-08 11:49:25 +02:00
Vladimir 'phcoder' Serbinenko
c5dbc13d28
Menu color test.
2013-05-07 14:38:29 +02:00
Vladimir 'phcoder' Serbinenko
011f8ae8d2
* grub-core/tests/setjmp_test.c: New test.
2013-05-07 12:28:59 +02:00
Vladimir 'phcoder' Serbinenko
85002bf34a
Agglomerate more mallocs to speed-up gfxterm.
2013-05-04 22:23:23 +02:00
Vladimir 'phcoder' Serbinenko
b7c036bce3
More video checks.
2013-05-04 14:00:14 +02:00
Vladimir 'phcoder' Serbinenko
0fb356a385
* grub-core/tests/lib/functional_test.c: Don't stop on first failed
...
test.
2013-05-04 13:54:08 +02:00
Vladimir 'phcoder' Serbinenko
03f7c8c304
Fix several memory leaks.
2013-05-04 13:47:10 +02:00
Andrey Borzenkov
8cec7bd40b
Rename grub-core/tests/checksums.c into grub-core/tests/checksums.h
...
and add it as source to functional_test module.
2013-05-03 18:39:17 +04:00
Vladimir 'phcoder' Serbinenko
aa73d688e7
* grub-core/tests/video_checksum.c: Don't set GENERATE_MODE.
2013-05-03 14:50:05 +02:00
Vladimir 'phcoder' Serbinenko
c104b6f93e
New series of tests for gfxterm and gfxmenu.
2013-05-03 14:09:55 +02:00
Vladimir 'phcoder' Serbinenko
a8905e8ae8
Several fixes to ieee1275 and big-endian video.
2013-05-02 22:30:20 +02:00
Vladimir 'phcoder' Serbinenko
3f3e7326b7
* grub-core/tests/videotest_checksum.c (videotest_checksum): Error out
...
if no unifont is found.
Restore original keyboard.
2013-05-02 18:08:42 +02:00
Vladimir 'phcoder' Serbinenko
5036166022
First automated video test (running videotest and comparing results)
2013-05-02 14:39:03 +02:00
Vladimir 'phcoder' Serbinenko
5121223465
Turn off QEMU ACPI-way since new releases don't have shutdown port
...
anymore.
2013-04-12 14:49:33 +02:00
Vladimir 'phcoder' Serbinenko
dbc56d8f0b
Support i386-ieee1275 grub-mkrescue and make check on it.
2013-04-12 01:29:45 +02:00
Vladimir 'phcoder' Serbinenko
93cd84df63
Use ACPI shutdown intests as traditional port was removed.
2013-04-11 21:09:43 +02:00
Colin Watson
c3fc8394a0
* grub-core/tests/lib/test.c (grub_test_run): Return non-zero on
...
test failures, so that a failing unit test correctly causes 'make
check' to fail.
2013-01-02 16:42:48 +00:00
Vladimir 'phcoder' Serbinenko
eac49cffc8
Add loongson tests.
...
* tests/util/grub-shell.in: Handle loongson.
* tests/partmap_test.in: Add loongson to the list of platform using ATA
drivers.
* grub-core/tests/boot/linux.init-mips.S (SHUTDOWN_MAGIC3) [REBOOT]:
Reboot instead of shutdown if REBOOT is defined.
2012-06-15 19:42:25 +02:00
Vladimir 'phcoder' Serbinenko
7183452c00
* Makefile.am: Add ppc linux bootcheck.
...
* grub-core/tests/boot/linux-ppc.cfg: New file.
* grub-core/tests/boot/linux.init-ppc.S: Likewise.
2012-06-08 20:35:54 +02:00
Vladimir 'phcoder' Serbinenko
37ba07ebaf
Extend automated tests to qemu-mips.
...
* Makefile.am: reorganise tests and enable qemu-mips.
* configure.ac (COND_mipseb), (COND_mipsel): New conditions.
* grub-core/tests/boot/linux.init-mips.S: New file.
* tests/partmap_test.in: Handle ata0 disks.
* tests/util/grub-shell.in: Handle qemu-mips. Make defaults work on
non-pc i386.
2012-06-06 12:36:33 +02:00
Peter Jones
2787ae53d6
The old code gives arguments to a printf function which can't work
...
correctly, and the compiler complains.
* grub-core/tests/example_functional_test.c (example_test): Add
missing text.
* grub-core/tests/lib/test.c (add_failure): Rewrite.
* include/grub/test.h (grub_test_assert_helper): New declaration.
(grub_test_assert): Use grub_test_assert_helper.
2012-05-27 14:26:18 +02:00
Vladimir 'phcoder' Serbinenko
526ef13d34
* grub-core/Makefile.core.def (example_functional_test): Rename to ...
...
(exfctest): ... this to avoid overlong filenames.
All users updated.
2012-05-27 14:12:48 +02:00
Vladimir 'phcoder' Serbinenko
bb51c6c647
* grub-core/commands/acpi.c: Add TRANSLATORS comments.
...
* grub-core/commands/gptsync.c: Likewise.
* grub-core/commands/hashsum.c: Likewise.
* grub-core/commands/i386/pc/sendkey.c: Likewise.
* grub-core/commands/legacycfg.c: Likewise.
* grub-core/io/gzio.c: Likewise.
* grub-core/net/net.c: Likewise.
* grub-core/term/gfxterm.c: Likewise.
* grub-core/term/terminfo.c: Likewise.
* grub-core/tests/test_blockarg.c: Likewise.
* grub-core/video/video.c: Likewise.
* util/grub-install.in: Likewise.
* util/grub-mkfont.c: Likewise.
2012-03-06 14:11:10 +01:00
Vladimir 'phcoder' Serbinenko
87edb8940a
Replace single-linked with double-linked lists. It results in more
...
compact and more efficient code.
* grub-core/kern/list.c (grub_list_push): Moved from here ...
* include/grub/list.h (grub_list_push): ... to here. Set prev.
(grub_list_remove): Moved from here ...
* include/grub/list.h (grub_list_remove): ... here. Use and set prev.
(grub_prio_list_insert): Set prev.
* include/grub/list.h (grub_list): Add prev. All users updated.
2012-01-24 13:31:12 +01:00
Vladimir 'phcoder' Serbinenko
e745cf0ca6
Implement automatic module license checking according to new GNU
...
guidelines.
* grub-core/kern/dl.c (grub_dl_check_license): New function.
(grub_dl_load_core): Use grub_dl_check_license.
* include/grub/dl.h (GRUB_MOD_SECTION): New macro.
(GRUB_MOD_LICENSE): Likewise.
(GRUB_MOD_DUAL_LICENSE): Likewise.
All modules updated.
2011-04-11 23:01:51 +02:00
Vladimir 'phcoder' Serbinenko
ed80f7d586
* include/grub/command.h (GRUB_COMMAND_FLAG_CMDLINE): Removed. All
...
users updated.
(GRUB_COMMAND_FLAG_MENU): Likewise.
(GRUB_COMMAND_FLAG_BOTH): Likewise.
(GRUB_COMMAND_FLAG_TITLE): Removed.
(GRUB_COMMAND_FLAG_NO_ECHO): Likewise.
(GRUB_COMMAND_FLAG_EXTCMD): Moved into enum.
(GRUB_COMMAND_FLAG_DYNCMD): Likewise.
(GRUB_COMMAND_FLAG_BLOCKS): Likewise.
(grub_command_flags_t): New enum. All users updated.
2010-09-14 23:06:01 +02:00
BVK Chaitanya
e5a73c4247
merge with mainline
2010-09-04 09:05:21 +05:30
Vladimir 'phcoder' Serbinenko
7542126ac2
Add missing newlines
2010-08-29 23:07:44 +02:00
Vladimir 'phcoder' Serbinenko
5407820787
Adjust kfreebsd.cfg for EFI
2010-08-29 00:20:22 +02:00
Vladimir 'phcoder' Serbinenko
9b1cb542db
Rename test kernels
2010-08-28 16:51:36 +02:00
Vladimir 'phcoder' Serbinenko
9bd44ab21a
kfreebsd-aout bootchecks
2010-08-28 16:21:45 +02:00
Vladimir 'phcoder' Serbinenko
0101a723ce
ntldr bootcheck
2010-08-28 16:05:20 +02:00
Vladimir 'phcoder' Serbinenko
8e4ac346e8
OpenBSD64 bootcheck
2010-08-28 15:05:26 +02:00
Vladimir 'phcoder' Serbinenko
0f6a963e9b
kOpenBSD bootcheck
2010-08-28 14:51:54 +02:00
Vladimir 'phcoder' Serbinenko
dc1bff761f
Simplify knetbsd bootcheck by using specfile
2010-08-28 03:17:59 +02:00
BVK Chaitanya
928bad4708
merge with mainline
2010-08-26 09:30:11 +05:30
Vladimir 'phcoder' Serbinenko
e8ea4b8424
pc-chainloader bootcheck
2010-08-25 21:55:48 +02:00
Vladimir 'phcoder' Serbinenko
1e82303f1d
multiboot and multiboot2 bootchecks
2010-08-25 20:34:07 +02:00