- Fix test to initialize a set of processes and run a simulation
- The test needs to be linked to Gtkmm, even if it doesn't use it. This is wrong and a coding anomaly that will need to be resolved. - Add debug code to fcfs.py. Please remove it when it'll be okay - Calling dir(SchedulableList.get_item_at(x)) from Python shows a worringly empty list! git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@395 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
parent
a2a492b5d5
commit
8d6b7c500e
11 changed files with 236 additions and 33 deletions
22
Makefile.am
22
Makefile.am
|
@ -183,7 +183,8 @@ src_backend_libbackend_la_SOURCES = \
|
|||
src/backend/schedulable_status.cc \
|
||||
src/backend/scheduler.cc \
|
||||
src/backend/slice.cc \
|
||||
src/backend/string_utils.cc
|
||||
src/backend/string_utils.cc \
|
||||
src/backend/user_interrupt_exception.cc
|
||||
|
||||
noinst_HEADERS += \
|
||||
src/backend/dummy_policy.hh \
|
||||
|
@ -198,7 +199,8 @@ noinst_HEADERS += \
|
|||
src/backend/schedulable_status.hh \
|
||||
src/backend/scheduler.hh \
|
||||
src/backend/slice.hh \
|
||||
src/backend/string_utils.hh
|
||||
src/backend/string_utils.hh \
|
||||
src/backend/user_interrupt_exception.hh
|
||||
|
||||
# ############################################################
|
||||
#
|
||||
|
@ -315,14 +317,24 @@ pyc_PYTHON = \
|
|||
|
||||
noinst_PROGRAMS = test-python_loader
|
||||
|
||||
# Shouldn't need Gtkmm! This is a coding anomaly
|
||||
test_python_loader_CPPFLAGS = \
|
||||
-I@top_srcdir@/src \
|
||||
-DPYCDIR="\"$(pycdir)\"" \
|
||||
-DMODDIR="\"$(moddir)\"" \
|
||||
$(PYTHON_CPPFLAGS) \
|
||||
$(GLIBMM_CFLAGS)
|
||||
$(GLIBMM_CFLAGS) \
|
||||
$(GTKMM_CFLAGS) \
|
||||
$(GTHREAD_CFLAGS)
|
||||
test_python_loader_LDFLAGS = \
|
||||
src/backend/pyloader/libpyloader.la
|
||||
src/backend/pyloader/libpyloader.la \
|
||||
$(GTKMM_LIBS) $(GTHREAD_LIBS)
|
||||
test_python_loader_SOURCES = \
|
||||
src/testsuite/test-python_loader.cc
|
||||
src/testsuite/test-python_loader.cc \
|
||||
src/start_gui.cc \
|
||||
src/standard_io.cc \
|
||||
src/text_simulation.cc \
|
||||
src/observer.cc \
|
||||
src/graphical_terminal_io.cc \
|
||||
src/simulation.cc
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue