diff options
author | Stephen Warren <swarren@nvidia.com> | 2016-02-08 14:44:16 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-02-15 20:58:26 +0000 |
commit | 1cd85f571dd888a20ba23308231da0022ae1ea9e (patch) | |
tree | f9fe6bc10ae56350bf3f4be9856b4511f5fe0b64 /test/dm/test-dm.sh | |
parent | 7ed4848bb86c562707a02333a6f2f816d0e48955 (diff) | |
download | u-boot-imx-1cd85f571dd888a20ba23308231da0022ae1ea9e.zip u-boot-imx-1cd85f571dd888a20ba23308231da0022ae1ea9e.tar.gz u-boot-imx-1cd85f571dd888a20ba23308231da0022ae1ea9e.tar.bz2 |
test/py: run all "ut" subtests
Invoke each "ut"-based unit test as a separate pytest.
Now that the DM unit test runs under test/py, remove the manual shell
script that invokes it.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org> # v2, on sandbox
Diffstat (limited to 'test/dm/test-dm.sh')
-rwxr-xr-x | test/dm/test-dm.sh | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/test/dm/test-dm.sh b/test/dm/test-dm.sh deleted file mode 100755 index 1a0f150..0000000 --- a/test/dm/test-dm.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh - -die() { - echo $1 - exit 1 -} - -NUM_CPUS=$(cat /proc/cpuinfo |grep -c processor) -make O=sandbox sandbox_config || die "Cannot configure U-Boot" -make O=sandbox -s -j${NUM_CPUS} || die "Cannot build U-Boot" -dd if=/dev/zero of=spi.bin bs=1M count=2 -echo -n "this is a test" > testflash.bin -dd if=/dev/zero bs=1M count=4 >>testflash.bin -./sandbox/u-boot -d ./sandbox/arch/sandbox/dts/test.dtb -c "ut dm" -rm spi.bin -rm testflash.bin |