dm: test: Update Makefile conditions
authorSimon Glass <sjg@chromium.org>
Sat, 3 Oct 2020 15:25:24 +0000 (09:25 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 29 Oct 2020 20:42:17 +0000 (14:42 -0600)
commit82c468a049d8887b70b1826c9fda2388f14704ef
treee5e900628049d313136894fc291cbbcdf3cf77a9
parent1cadc7611755bcd5e28e98515f4814e598196daa
dm: test: Update Makefile conditions

At present most of the tests in test/Makefile are dependent on
CONFIG_SANDBOX. But this is not ideal since they rely on commands being
available and SPL does not support commands.

Use CONFIG_COMMAND instead. This has the dual purpose of allowing these
tests to be used on other boards and allowing SPL to skip them.

Signed-off-by: Simon Glass <sjg@chromium.org>
test/Makefile