07 Oct, 2018
2 commits
-
Update the pymark.buildconfigspec to depend on 'cmd_mmc' in addition to
'cmd_avb' for those tests that needs more a more complete MMC
implementation or the "mmc" command.Reviewed-by: Simon Glass
Signed-off-by: Jens Wiklander -
Tests the TEE uclass with a sandbox tee driver.
Reviewed-by: Simon Glass
Signed-off-by: Jens Wiklander
[trini: initialize session to 0 in dm_test_tee]
Signed-off-by: Tom Rini
06 Oct, 2018
3 commits
-
After Siomon's comment, add a descriptive comment (docstring) to each of
helper functions in conftest.py. No functionality changed.Signed-off-by: Akashi Takahiro
Reviewed-by: Simon Glass -
Since there is no use of fs_type in umount_fs(), just remove it.
Signed-off-by: Akashi Takahiro
Reviewed-by: Simon Glass -
After a test has failed, test/py drains the U-Boot console log to ensure
that any relevant output is captured. At this point, we don't care about
detecting any additional errors, since the test is already known to have
failed, and U-Boot will be restarted. To ensure that the test cleanup code
is not interrupted, and can correctly terminate the log sections for the
failed test, ignore any exception that occurs while reading the U-Boot
console output during this limited period of time.Signed-off-by: Stephen Warren
01 Oct, 2018
1 commit
30 Sep, 2018
4 commits
-
Add a test which verifies that all subnodes under "/firmware"
nodes are scanned.Signed-off-by: Rajan Vaja
Reviewed-by: Simon Glass
Added 'imply FIRMWARE' to sandbox Kconfig to fix test failures, fixed
ordering of lines in arch/sandbox/dts/test.dts and test/dm/Makefile,
updated #if condition in drivers/firmware/firmware-uclass.c:
Signed-off-by: Simon Glass -
Add tests for the new board uclass.
Reviewed-by: Simon Glass
Signed-off-by: Mario Six -
Add tests for the dev_{enable,disable}_by_path functions.
Reviewed-by: Simon Glass
Signed-off-by: Mario Six -
Add tests for the ofnode_set_enabled, ofnode_write_string, and
ofnode_write_property functions.Reviewed-by: Simon Glass
Signed-off-by: Mario Six
29 Sep, 2018
2 commits
-
Add tests for the hex2bin, bin2hex, and hex_to_bin functions, which were
recently added to U-Boot.Signed-off-by: Mario Six
Reviewed-by: Simon Glass -
Add sandbox driver and tests for the new OSD uclass.
Signed-off-by: Mario Six
Reviewed-by: Simon Glass
24 Sep, 2018
17 commits
-
Use a key notification function to leave the
EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL test.Signed-off-by: Heinrich Schuchardt
Signed-off-by: Alexander Graf -
Add a unit test for the EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL.
Signed-off-by: Heinrich Schuchardt
Signed-off-by: Alexander Graf -
Use more precise regular expressions.
Signed-off-by: Heinrich Schuchardt
Signed-off-by: Alexander Graf -
Test that the Euro sign is correctly retrieved from the console via the
EFI_SIMPLE_TEXT_INPUT_PROTOCOL.Signed-off-by: Heinrich Schuchardt
Signed-off-by: Alexander Graf -
Up to now the EFI_TEXT_INPUT_PROTOCOL only supported ASCII characters.
With the patch it can consume UTF-8 from the console.Currently only the serial console and the console can deliver UTF-8.
Local consoles are restricted to ASCII.Signed-off-by: Heinrich Schuchardt
Signed-off-by: Alexander Graf -
In this commit, test cases for unlink interfaces are added as part of
"test_fs" test suite.Signed-off-by: AKASHI Takahiro
Signed-off-by: Alexander Graf -
In this commit, test cases for mkdir interfaces are added as part of
"test_fs" test suite.Signed-off-by: AKASHI Takahiro
Signed-off-by: Alexander Graf -
In this commit and the following, test scripts for new filesystem
functionalities introduced by my patch set, "fs: fat: extend FAT write
operations," are provided.In particular, this patch adds test cases for sub-directory write
and write with non-zero offset.Signed-off-by: AKASHI Takahiro
Signed-off-by: Alexander Graf -
In this commit, the same set of test cases as in test/fs/fs-test.sh
is provided using pytest framework.
Actually, fs-test.sh provides three variants:"sb" (sb command), "nonfs"
(fatxx and etc.) and "fs" (hostfs), and this patch currently supports
only "nonfs" variant; So it is not a replacement of fs-test.sh for now.Simple usage:
$ py.test test/py/tests/test_fs []You may also specify filesystem types to be tested:
$ py.test test/py/tests/test_fs --fs-type fat32 []Signed-off-by: AKASHI Takahiro
Signed-off-by: Alexander Graf -
As far as this patch series has been applied, all the tests should
pass. So update the test result summary.Signed-off-by: AKASHI Takahiro
Signed-off-by: Alexander Graf -
The error message to be matched is wrong. Fix it.
Signed-off-by: AKASHI Takahiro
Signed-off-by: Alexander Graf -
%s/occured/occurred/
Signed-off-by: Heinrich Schuchardt
Signed-off-by: Alexander Graf -
Execute the EFI selftest for the EFI_SIMPLE_TEXT_INPUT_PROTOCOL.
Signed-off-by: Heinrich Schuchardt
Signed-off-by: Alexander Graf -
Provide unit tests for utf_to_lower() utf_to_upper().
Signed-off-by: Heinrich Schuchardt
Signed-off-by: Alexander Graf -
Test printing of Unicode strings
Signed-off-by: Heinrich Schuchardt
Signed-off-by: Alexander Graf -
Provide unit tests for Unicode functions.
Signed-off-by: Heinrich Schuchardt
Signed-off-by: Alexander Graf -
Using CONFIG_IS_ENABLED(EFI_LOADER) allows to simply the #if statements.
Suggested-by: Alexander Graf
Signed-off-by: Heinrich Schuchardt
Signed-off-by: Alexander Graf
19 Sep, 2018
1 commit
-
Currently, "help dm" shows as follows:
=> help dm
dm - Driver model low level accessUsage:
dm tree Dump driver model tree ('*' = activated)
dm uclass Dump list of instances for each uclass
dm devres Dump list of device resources for each deviceSigned-off-by: Masahiro Yamada
Reviewed-by: Bin Meng
Tested-by: Bin Meng
18 Sep, 2018
3 commits
-
Test ofnode_by_prop_value()
Signed-off-by: Jens Wiklander
Reviewed-by: Simon Glass -
Add a sandbox CPU driver, and some tests for the CPU uclass.
Signed-off-by: Mario Six
-
Add some tests for sysreset_get_status.
Reviewed-by: Simon Glass
Signed-off-by: Mario Six
11 Sep, 2018
5 commits
-
FPGA changes for v2018.11
- add fpga tests to cover fpga commands
- fpga Kconfig cleanup
- fix cmd/fpga.c
- add support for missing fpga loadmk commands
- add fpga fragment to MAINTAINERS -
Add support for info, load, loadp, loadb, loadbp, loadmk_legacy,
loadmk_legacy_gz, loadmk_fit, loadfs also with variable support.There are probably missing failed tests.
Signed-off-by: Michal Simek
Reviewed-by: Simon Glass -
In int-ll64.h, we always use the following typedefs:
typedef unsigned int u32;
typedef unsigned long uintptr_t;
typedef unsigned long long u64;This does not need to match to the compiler's .
Do not include it.The use of PRI* makes the code super-ugly. You can simply use
"l" for printing uintptr_t, "ll" for u64, and no modifier for u32.Signed-off-by: Masahiro Yamada
-
You do not need to use the typedefs provided by compiler.
Our compilers are either IPL32 or LP64. Hence, U-Boot can/should
always use int-ll64.h typedefs like Linux kernel, whatever the
typedefs the compiler internally uses.Signed-off-by: Masahiro Yamada
-
Signed-off-by: Patrice Chotard
Reviewed-by: Simon Glass
25 Aug, 2018
2 commits
-
Trivial fix.
Signed-off-by: Michal Simek
Reviewed-by: Simon Glass