summaryrefslogtreecommitdiffstats
path: root/schedsim/shell/schedsim_smpsimple
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2014-05-26 14:08:12 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2014-05-26 14:08:12 -0500
commit205f7947a6fb56c994d066462e73dbd7dd99a968 (patch)
tree7071678c43afc1efdd3fd4ca6b9b2849d8c1bc32 /schedsim/shell/schedsim_smpsimple
parentMisc so more scenarios run (diff)
downloadrtems-schedsim-205f7947a6fb56c994d066462e73dbd7dd99a968.tar.bz2
Add initial support for make check
+ Enhance run_scenario to run from build tree. Required specification of both executable and scenario directory + check-local stanzas have first cut at which scenarios to run for each scheduler. TODO: + Verify behavior of each scheduler versus expected output. + Ensure list of scenarios executed is complete and appropriate. For example, SMP schedulers should avoid disable preemption scenarios.
Diffstat (limited to 'schedsim/shell/schedsim_smpsimple')
-rw-r--r--schedsim/shell/schedsim_smpsimple/Makefile.am12
1 files changed, 12 insertions, 0 deletions
diff --git a/schedsim/shell/schedsim_smpsimple/Makefile.am b/schedsim/shell/schedsim_smpsimple/Makefile.am
index bd73a32..2d534df 100644
--- a/schedsim/shell/schedsim_smpsimple/Makefile.am
+++ b/schedsim/shell/schedsim_smpsimple/Makefile.am
@@ -39,4 +39,16 @@ schedsim_smpsimple_LDADD += ../../rtems/librtems.a
schedsim_smpsimple_LDADD += ../shared/libschedsim.a
## schedsim_smpsimple_LDADD +=-Wl,--end-group
+check-local:
+ @echo Running tests from SMP Simple Priority
+ $(srcdir)/../run_scenarios \
+ -s $(builddir)/schedsim_smpsimple \
+ -S $(srcdir) \
+ -A
+ @echo Running tests from Priority
+ $(srcdir)/../run_scenarios \
+ -s $(builddir)/schedsim_smpsimple \
+ -S $(srcdir)../schedsim_priority \
+ -A
+
include $(top_srcdir)/../automake/host.am