mquinson [Tue, 10 Jun 2008 07:45:05 +0000 (07:45 +0000)]
useless cleanup
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5587
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
mquinson [Tue, 10 Jun 2008 07:39:49 +0000 (07:39 +0000)]
Cut a now useless dependency of surf.h to portable.h which would have caused the whole simulation world to be recompiled each time we reconfigure the source
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5586
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
mquinson [Tue, 10 Jun 2008 07:31:22 +0000 (07:31 +0000)]
Remove the surf_*_model_description_size constants. They were hard to compute when we add a new model, and we can go without them by using NULL terminated arrays
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5585
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
alegrand [Mon, 9 Jun 2008 21:56:41 +0000 (21:56 +0000)]
Propagate recent modifications of change_host function to java.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5584
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
cherierm [Mon, 9 Jun 2008 15:36:05 +0000 (15:36 +0000)]
last changes of tesh2
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5582
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
velho [Mon, 9 Jun 2008 11:26:46 +0000 (11:26 +0000)]
Removed duplicated declaration of surf_network_model_init_GTNETS in network_gtnets.c .
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5581
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
velho [Mon, 9 Jun 2008 11:26:42 +0000 (11:26 +0000)]
Added a properties field to struct network_card_GTNETS.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5580
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
velho [Mon, 9 Jun 2008 11:26:39 +0000 (11:26 +0000)]
Moving init_GTNETS function to the right place.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5579
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
velho [Mon, 9 Jun 2008 11:26:34 +0000 (11:26 +0000)]
SDP compiling now, added header portable.h to header file and sdp.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5578
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
velho [Mon, 9 Jun 2008 11:26:29 +0000 (11:26 +0000)]
Reno2 now compatible with the new and more appropriated name for define_callbacks (old named parse_file).
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5577
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
velho [Mon, 9 Jun 2008 11:26:26 +0000 (11:26 +0000)]
Correct the network_model_description_size in order to include Reno2.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5576
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
velho [Mon, 9 Jun 2008 11:26:22 +0000 (11:26 +0000)]
Added Reno2, a model that takes 2W/RTT as the utility parameter in the Low proposed Reno bandwidth sharing model.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5575
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
velho [Mon, 9 Jun 2008 11:26:18 +0000 (11:26 +0000)]
Added a function and the bound to the variable structure.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5574
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
velho [Mon, 9 Jun 2008 11:26:14 +0000 (11:26 +0000)]
Added the feature of getting remaining communication from gtnets flows.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5573
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
velho [Mon, 9 Jun 2008 11:26:10 +0000 (11:26 +0000)]
Fixed small bug when running_actions were empty.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5572
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
velho [Mon, 9 Jun 2008 11:26:07 +0000 (11:26 +0000)]
Make GTNETS compatible with new parsing and variable name convention.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5571
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
velho [Mon, 9 Jun 2008 11:26:04 +0000 (11:26 +0000)]
Use the same type name (network_link_GTNETS_t) as in the private header.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5570
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
velho [Mon, 9 Jun 2008 11:26:01 +0000 (11:26 +0000)]
Better management of additionnal network models
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5569
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
velho [Mon, 9 Jun 2008 11:25:57 +0000 (11:25 +0000)]
Clean up the mess. Now the GTNETS and SDP detection are clean.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5568
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
velho [Mon, 9 Jun 2008 11:25:53 +0000 (11:25 +0000)]
After extensible reading in automake info files the AC_DEFINE is not used for defining a macro directly it only creates a config.in.h to autoheaders or to the temporary tests. For the moment the best opition is to put this -D... flag for all compilations.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5567
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
mquinson [Mon, 9 Jun 2008 09:04:32 +0000 (09:04 +0000)]
Ensure that the random generator respects the provided mean and standard deviation. Based on a patch from Louis-Claude Canon, thanks
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5566
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
alegrand [Sat, 7 Jun 2008 14:09:22 +0000 (14:09 +0000)]
Rodrigo Righi patch to enable migration.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5565
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
alegrand [Sat, 7 Jun 2008 13:59:21 +0000 (13:59 +0000)]
Revalidate "output" avec Benjamin Depardon's bug correction.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5564
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
alegrand [Sat, 7 Jun 2008 13:45:22 +0000 (13:45 +0000)]
Fix the bug raised by Benjamin Depardon.
The usage of this changed_state attribute was "premature
optimization". The use of FIFO mode complicates the call path and
makes things more complicated. That is why I've finally decide to
use a clean dynar...
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5563
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
cherierm [Fri, 6 Jun 2008 15:58:32 +0000 (15:58 +0000)]
a win32 auto.tesh (because echo test and pwd do not exist on Windows)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5562
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
cherierm [Fri, 6 Jun 2008 15:55:38 +0000 (15:55 +0000)]
last change of Tesh2
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5561
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
velho [Fri, 6 Jun 2008 10:27:48 +0000 (10:27 +0000)]
Corrected small bug in network model host_number is used instead of card_number.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5555
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
mquinson [Thu, 5 Jun 2008 14:34:18 +0000 (14:34 +0000)]
Some extra check to ensure portability
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5546
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
mquinson [Thu, 5 Jun 2008 14:25:22 +0000 (14:25 +0000)]
malloc(0) fails on AIX
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5545
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
mquinson [Thu, 5 Jun 2008 10:03:14 +0000 (10:03 +0000)]
damn ANSI C
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5541
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
mquinson [Wed, 4 Jun 2008 19:30:36 +0000 (19:30 +0000)]
Ops, sorry windows. I'll stick to ANSI
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5540
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
cherierm [Wed, 4 Jun 2008 17:54:32 +0000 (17:54 +0000)]
not needed (use Cat.c instead)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5539
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
cherierm [Wed, 4 Jun 2008 17:50:44 +0000 (17:50 +0000)]
a example of Tesh variables
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5538
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
cherierm [Wed, 4 Jun 2008 17:48:52 +0000 (17:48 +0000)]
not needed
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5537
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
cherierm [Wed, 4 Jun 2008 17:47:23 +0000 (17:47 +0000)]
source code to manage the Windows Unix and Mac file formats.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5536
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
cherierm [Wed, 4 Jun 2008 17:45:41 +0000 (17:45 +0000)]
source code used to check if a specified command exists (if the command checking is enabled)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5535
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
cherierm [Wed, 4 Jun 2008 17:43:42 +0000 (17:43 +0000)]
a text file which contains the list of sh built-ins.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5534
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
cherierm [Wed, 4 Jun 2008 17:41:51 +0000 (17:41 +0000)]
some new files used to check Tesh
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5533
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
cherierm [Wed, 4 Jun 2008 17:39:00 +0000 (17:39 +0000)]
Last corrections of Tesh tool.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5532
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
mquinson [Wed, 4 Jun 2008 16:15:44 +0000 (16:15 +0000)]
kill dead code
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5531
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
mquinson [Wed, 4 Jun 2008 16:11:13 +0000 (16:11 +0000)]
plug a memleak on thread cancelation (gras listener are always canceled)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5530
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
mquinson [Wed, 4 Jun 2008 16:09:54 +0000 (16:09 +0000)]
fix expected output
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5529
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
mquinson [Wed, 4 Jun 2008 16:05:55 +0000 (16:05 +0000)]
Solve the empty_main bug: simply yield main gras thread right after the listener creation so that it gets a chance to finish its initialization before we cancel it right away if the main is empty
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5528
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
mquinson [Wed, 4 Jun 2008 16:04:24 +0000 (16:04 +0000)]
Some more debug output to understand the gras/empty_main bug
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5527
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
mquinson [Wed, 4 Jun 2008 15:16:26 +0000 (15:16 +0000)]
Make sure all the source files have an reference of the copyright and of the licence
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5526
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
mquinson [Tue, 3 Jun 2008 20:56:06 +0000 (20:56 +0000)]
Inform valgrind about ucontextes [Sékou Diakite]
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5512
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
mquinson [Tue, 3 Jun 2008 20:53:20 +0000 (20:53 +0000)]
Well. Some of the tests do not fail
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5511
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
mquinson [Tue, 3 Jun 2008 20:36:52 +0000 (20:36 +0000)]
Ok, amok tests do fail. I know that, but I'm sick of delaying the release for that piece of code that nobody uses (beside Lionel of course)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5510
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
mquinson [Tue, 3 Jun 2008 16:04:43 +0000 (16:04 +0000)]
Well, actually, yes, top_srcdir is supposed to be a relative path. But since it's not in eclipse, let's go for abs_top_srcdir instead of crude hacks around the directory when calling a command from a subdir
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5509
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
mquinson [Tue, 3 Jun 2008 15:56:24 +0000 (15:56 +0000)]
top_srcdir is not supposed to be a relative path
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5508
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
mquinson [Tue, 3 Jun 2008 15:53:43 +0000 (15:53 +0000)]
top_srcdir is not supposed to be a relative path
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5507
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
mquinson [Tue, 27 May 2008 10:13:00 +0000 (10:13 +0000)]
dos2unix + indent
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5501
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
cherierm [Thu, 22 May 2008 12:06:20 +0000 (12:06 +0000)]
the makefile used on bob
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5496
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
cherierm [Thu, 22 May 2008 12:04:26 +0000 (12:04 +0000)]
not needed
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5495
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
mquinson [Wed, 21 May 2008 18:28:29 +0000 (18:28 +0000)]
Display any possible format sequence when the user provided an invalid one
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5493
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
mquinson [Wed, 21 May 2008 15:48:07 +0000 (15:48 +0000)]
These files are missing from the archive sometimes
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5492
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
mquinson [Wed, 21 May 2008 15:35:48 +0000 (15:35 +0000)]
Because of numerical stability issues (once again), the timings are not exactly the same on 32bits and 64bits for the small_sleep test case
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5491
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
mquinson [Wed, 21 May 2008 15:29:47 +0000 (15:29 +0000)]
Damn. The order of events changed again in surf. Revalidate once again
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5490
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
mquinson [Wed, 21 May 2008 15:28:38 +0000 (15:28 +0000)]
Damn. The order of events changed again in surf. Revalidate once again
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5489
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
cherierm [Wed, 21 May 2008 15:11:47 +0000 (15:11 +0000)]
Refactoring of code and documentation.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5488
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
cherierm [Wed, 21 May 2008 15:11:19 +0000 (15:11 +0000)]
Add a class of exception for file not found and Msg files containing the declarations and implementation of the function connected to MSG.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5487
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
mquinson [Wed, 21 May 2008 15:00:43 +0000 (15:00 +0000)]
also capture the output of the tests (which all write to stderr)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5486
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
mquinson [Wed, 21 May 2008 14:58:52 +0000 (14:58 +0000)]
kill all free_string functions declared locally to cleanup dynars afterward, and use xbt_free_ref consitantly for that (plus plug two memleaks on the way in surf parser)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5485
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
alegrand [Wed, 21 May 2008 13:48:56 +0000 (13:48 +0000)]
Speed up update_action_state AND generic_maxmin_share for sleep actions with no maximum duration.
These sleep actions are not put in the running_action swag but in
another private one. Thus, they're somehow hiden from the surf kernel
but it does not need to see them anyway. The cpu module takes care of
them as the only thing that might happen to them (from the surf kernel
perspective) would be to fail, which is now done through the
update_resource function.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5484
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
alegrand [Wed, 21 May 2008 09:53:01 +0000 (09:53 +0000)]
Well the output of printf("%p",NULL) might depend on the system. So let's use a more stable convetion and revalidate the output.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5483
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
mquinson [Wed, 21 May 2008 09:46:39 +0000 (09:46 +0000)]
Do not use NULL as a name since AIX and linux do not display them the same way (AIX->"";Linux->"(null)")
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5482
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
cherierm [Wed, 21 May 2008 09:45:35 +0000 (09:45 +0000)]
complete the auto.tesh file
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5481
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
alegrand [Wed, 21 May 2008 09:44:55 +0000 (09:44 +0000)]
Do not print pointers (%p) when using INFO. This kind of output is system dependant and it breaks the testsuites..
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5480
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
cherierm [Wed, 21 May 2008 09:41:15 +0000 (09:41 +0000)]
add catch-wrong-output.tesh to auto.tesh
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5479
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
mquinson [Wed, 21 May 2008 09:36:45 +0000 (09:36 +0000)]
revalidate output
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5478
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
alegrand [Wed, 21 May 2008 09:32:47 +0000 (09:32 +0000)]
This is the right condition that prevents deadlocks! :)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5477
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
cherierm [Wed, 21 May 2008 09:04:48 +0000 (09:04 +0000)]
change the free function by a free_error function to clean all the tesh errors from the dictionary.
change some distraction in tesh files.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5476
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
mquinson [Wed, 21 May 2008 09:04:36 +0000 (09:04 +0000)]
add one more testing script to the archive
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5475
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
alegrand [Wed, 21 May 2008 09:04:35 +0000 (09:04 +0000)]
Change output of an example and fix the corresponding tesh file.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5474
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
alegrand [Wed, 21 May 2008 08:45:31 +0000 (08:45 +0000)]
Revalidate output!
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5473
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
alegrand [Wed, 21 May 2008 08:45:24 +0000 (08:45 +0000)]
Handle failed tasks in update_resource_state function instead of the update_action_state function.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5472
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
mquinson [Wed, 21 May 2008 08:42:02 +0000 (08:42 +0000)]
do not try to malloc 0-sized arrays
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5471
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
mquinson [Wed, 21 May 2008 08:18:31 +0000 (08:18 +0000)]
add every platform example that we have. Moreover, one of them is mandatory for a test
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5470
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
mquinson [Wed, 21 May 2008 08:08:17 +0000 (08:08 +0000)]
Add the test runner to the archive
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5469
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
mquinson [Wed, 21 May 2008 07:26:52 +0000 (07:26 +0000)]
fix the test integration (they were meant to be run from teshsuite/gras/empty_main instead of teshsuite/)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5468
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
mquinson [Tue, 20 May 2008 23:22:03 +0000 (23:22 +0000)]
Mmm. Time to bed
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5467
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
mquinson [Tue, 20 May 2008 23:20:37 +0000 (23:20 +0000)]
Extra care for environ shouldn't be mandatory here, since that's not a dynamic library but a binary. But the linker complains anyway
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5466
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
mquinson [Tue, 20 May 2008 23:09:16 +0000 (23:09 +0000)]
I changed the way to connect traces afterward about 5 months ago. good time to notice that this example didn't got updated
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5465
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
mquinson [Tue, 20 May 2008 23:07:40 +0000 (23:07 +0000)]
Second try to let the darwin linker find the environment variables
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5464
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
mquinson [Tue, 20 May 2008 23:02:52 +0000 (23:02 +0000)]
revalidate the output; more details get now displayed in about the platform, somehow. Not sure of what happened to these outputs. That's what happen when a test remains broken for 5 months, stupid me
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5463
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
mquinson [Tue, 20 May 2008 22:59:00 +0000 (22:59 +0000)]
Ops, I was saving the data for further use, but I inverted key and value in the dict. This bug is at least 5 months old, and is yet another proof than nobody uses traces (even if you can use them without trigering the bug, with the old interface)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5462
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
mquinson [Tue, 20 May 2008 22:26:51 +0000 (22:26 +0000)]
Some extra love is needed to use the environ variable in a dynamic library on darwin
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5461
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
mquinson [Tue, 20 May 2008 21:38:42 +0000 (21:38 +0000)]
Revalidate output after last change in surf changing the event order
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5460
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
mquinson [Tue, 20 May 2008 21:02:01 +0000 (21:02 +0000)]
Revalidate output after last change in surf changing the event order
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5459
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
mquinson [Tue, 20 May 2008 20:59:19 +0000 (20:59 +0000)]
Revalidate the output after last change in surf messing with event order, and fix a typo
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5458
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
mquinson [Tue, 20 May 2008 20:54:37 +0000 (20:54 +0000)]
Explain the copious warnings of automake in this directory in the comment
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5457
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
mquinson [Tue, 20 May 2008 20:50:37 +0000 (20:50 +0000)]
Do append the right buffer to the message when we switched to dynamic logs; be more paranoid on static buffer overflow
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5456
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
mquinson [Tue, 20 May 2008 20:49:33 +0000 (20:49 +0000)]
cosmetics
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5455
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
mquinson [Tue, 20 May 2008 20:08:50 +0000 (20:08 +0000)]
Fix make dist
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5454
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
mquinson [Tue, 20 May 2008 17:31:10 +0000 (17:31 +0000)]
cosmetics
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5453
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
mquinson [Tue, 20 May 2008 17:29:46 +0000 (17:29 +0000)]
Rework all examples and test cases of the properties
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5452
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
mquinson [Tue, 20 May 2008 16:09:22 +0000 (16:09 +0000)]
Implement properties on hosts and processes in RL (host is inited to empty, and process is inited to system process environment)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5451
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
mquinson [Tue, 20 May 2008 15:51:09 +0000 (15:51 +0000)]
add the ability to tesh to mess with the processes' environment
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5450
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
mquinson [Tue, 20 May 2008 15:46:28 +0000 (15:46 +0000)]
plug a memleak
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5449
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
mquinson [Tue, 20 May 2008 13:05:11 +0000 (13:05 +0000)]
cleanup around the free-like functions used as dealloc callbacks in dynar and dicts. One function was publicj with its code in xbt_os_time, and the other one was private to xbt_str.c. Now, they are both public and have their code in xbt_main (don't want to do a new .c file for them)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5448
48e7efb5-ca39-0410-a469-
dd3cf9ba447f