John Kacur
20b8b253f3
rt-tests: pip - Use check_privs() from the rt-utils library.
...
Use check_privs() from the rt-utils library to make sure that the user is
running with real-time privileges for the pip test program.
Signed-off-by: John Kacur <jkacur@redhat.com>
2009-12-23 16:41:12 +01:00
John Kacur
3dec3c9e04
rt-tests: Move header files from src/lib to src/include
...
Move header files from src/lib to src/include and adjust the Makefile to
reflect this change.
Signed-off-by: John Kacur <jkacur@redhat.com>
2009-12-23 16:26:49 +01:00
John Kacur
3b0dcdaefc
rt-tests: Add a new test pip - priority inheritance with processes
...
This test is similar to pi_stress in that it purpursely triggers a priority-
inversion. However, instead of using pthreads it uses processes.
Since pthread_mutex_t are the only objects backed by priority inheritance
this is accomplished by having the processes use a pthread_mutex_t in
shared memory. See the header of pip.c for more information as well as the
code of course.
In addition this patch starts a src/include directory as a common place
to put header files.
Signed-off-by: John Kacur <jkacur@redhat.com>
2009-12-23 16:01:17 +01:00
Clark Williams
3115847ca0
version bump to 0.59
...
Signed-off-by: Clark Williams <williams@redhat.com>
2009-12-22 16:27:15 -06:00
Clark Williams
8ab7958d06
deleted classic_pi program
...
classic_pi was the original proof of concept for a Priority
Inheritance mutex demonstration, but pi_stress does that much
better now.
Signed-off-by: Clark Williams <williams@redhat.com>
2009-12-22 16:22:11 -06:00
Clark Williams
c663bf76dd
version bump to 0.58
2009-12-21 16:11:09 -06:00
John Kacur
2d85600632
rt-tests: Add a get_cpu() function to the library.
...
Add a get_cpu() function to the library.
Most platforms will simply use sched_getcpu()
However, if you have a glibc < 2.6 then
64-bits will use vsyscall for getcpu (if available).
32-bits will use getcpu() (if available)
Signed-off-by: John Kacur <jkacur@redhat.com>
2009-12-21 22:02:38 +01:00
John Kacur
5ee3c0f037
rt-tests: Makefile - Changes to unify and simplify the Makefile
...
- These changes simplify the Makefile. For example, notice that we no
longer need to specify the full path to the source file
- These changes also unify the Makefile, for example, every program
gets VERSION_STRING as an floating point number.
- Due to the above change I had to make a number of changes in the programs
that expected VERSION_STRING as a string.
- By unifying what we CFLAGS, to include -D_GNU_SOURCE, I had to remove
__USE_GNU which is reduncant in a number of files.
Signed-off-by: John Kacur <jkacur@redhat.com>
2009-12-21 21:08:00 +01:00
Clark Williams
ff74d0eb70
version bump to 0.57
2009-12-15 13:48:37 -06:00
John Kacur
863280b7d5
Remove making of backfire kernel module from the rt-tests makefile
...
The kernel module can be made by cding to src/backfire and doing
make modules
sudo make modules_install
Signed-off-by: John Kacur <jkacur@redhat.com>
2009-12-14 21:44:19 +01:00
John Kacur
1a29a37968
The PHONY target for install is incorrectly specified as "all"
...
Change the PHONY target for install to install
Signed-off-by: John Kacur <jkacur@redhat.com>
2009-12-14 21:14:28 +01:00
Carsten Emde
92b0181ce8
Add the following new tests
...
- ptsematest
- sigwaittest
- svsematest
- sendme
Signed-off-by: Carsten Emde <carsten.emde@osadl.org>
Signed-off-by: John Kacur <jkacur@redhat.com>
2009-12-14 15:53:20 +01:00
Carsten Emde
da4e865225
Make use of the new library functions in signaltest.
...
Signed-off-by: Carsten Emde <carsten.emde@osadl.org>
Signed-off-by: John Kacur <jkacur@redhat.com>
2009-12-14 14:58:52 +01:00
Carsten Emde
c51afec7fd
Make use of the library functions in cyclic test.
...
Signed-off-by: Carsten Emde <carsten.emde@osadl.org>
Signed-off-by: John Kacur <jkacur@redhat.com>
2009-12-14 14:49:33 +01:00
Clark Williams
996e0f5e4d
version bump to 0.56
...
Signed-off-by: Clark Williams <williams@redhat.com>
2009-12-10 14:33:40 -06:00
Clark Williams
4176f242c2
version bump to 0.55
2009-11-19 15:04:43 -06:00
Clark Williams
c8fdec1e07
version bump to 0.54
2009-11-17 17:01:37 -06:00
John Kacur
edce3be048
rt-tests: Makefile - rt-tests.spec is not a PHONY target
...
Reported-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: John Kacur <jkacur@redhat.com>
Signed-off-by: Clark Williams <williams@redhat.com>
2009-11-17 15:24:25 -06:00
John Kacur
e3f61d1e8c
rt-tests: Makefile - Add a DEBUG option to the Makefile
...
This allows you to do
make DEBUG=0
which changes CFLAGS from -Wall -Wno-nonnull -O2
to -Wall -Wno-nonnull -O0 -g
Signed-off-by: John Kacur <jkacur@redhat.com>
Signed-off-by: Clark Williams <williams@redhat.com>
2009-11-17 15:16:20 -06:00
John Kacur
502ab0b3e4
rt-tests: Makefile - Specify when a target is a PHONY target.
...
Signed-off-by: John Kacur: <jkacur@redhat.com>
Signed-off-by: Clark Williams <williams@redhat.com>
2009-11-17 15:15:40 -06:00
John Kacur
1c436a1d75
rt-tests: Makefile - Change FLAGS to CFLAGS
...
Change FLAGS to CFLAGS as this is the standard
Signed-off-by: John Kacur <jkacur@redhat.com>
Signed-off-by: Clark Williams <williams@redhat.com>
2009-11-17 15:15:00 -06:00
Clark Williams
82ca52c27b
version bump to 0.53
2009-10-06 14:21:04 -05:00
Clark Williams
b4eaf44285
version bump to 0.52
2009-09-21 16:57:25 -05:00
Clark Williams
99557d7360
cleanups for rt-migrate-test
2009-09-21 16:48:49 -05:00
Clark Williams
64fce51cb8
version bump to 0.51
2009-09-03 15:07:42 -05:00
Clark Williams
3eba62854f
added extra status prints to scripts/do-git-push
...
added pushtest target to Makefile
fixed incorrect argument to git push
2009-07-16 10:46:39 -05:00
Clark Williams
a55242cc96
version bump to 0.50
2009-07-16 10:42:01 -05:00
Clark Williams
960adc44a2
version bump to 0.49
2009-07-13 10:07:24 -05:00
Clark Williams
2ba1f87e05
version bump to 0.48
...
added push target to Makefile
2009-07-07 17:15:21 -05:00
Clark Williams
d4e64bdf64
version bump to 0.47
2009-07-05 16:14:57 -05:00
Clark Williams
802855c693
added fix from Daniel Gollub <dgollub@suse.de> for doomsday latency
...
version bump to 0.46
2009-07-02 17:13:39 -05:00
Clark Williams
190a00e14e
version bump to 0.45; added help target to Makefile
2009-07-02 09:36:52 -05:00
Clark Williams
a778639f31
version bump to v0.44
2009-06-30 13:36:50 -05:00
Clark Williams
803a417378
version bump to 0.43
2009-06-25 09:15:40 -05:00
Clark Williams
219d5b48b1
version bump to 0.42
2009-06-12 15:48:18 -05:00
Clark Williams
11f68bd172
added hwlatdetect remove in clean target of Makefile
2009-06-12 13:15:45 -05:00
Clark Williams
556a10971c
handled module changes
2009-06-10 23:32:41 -05:00
Clark Williams
77dc91b066
updated distclean target
2009-06-10 13:53:18 -05:00
Clark Williams
446ff91990
the great renaming: smidetect -> hwlat
2009-06-10 13:50:02 -05:00
Clark Williams
30edd0b4ab
rewrite to match updated smi_detector module
2009-05-30 10:30:49 -05:00
Clark Williams
5aac188d85
added smidetect
2009-05-13 13:57:11 -05:00
Clark Williams
9153c383ec
version bump to 0.39
2009-05-06 09:35:23 -05:00
Uwe Kleine-König
ec536d0454
Makefile: don't override DESTDIR, prefix, bindir and mandir
...
This eases packaging rt-tests and shouldn't have any further impact.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
2009-05-02 20:26:35 +02:00
Clark Williams
1b81d40771
version bump to 0.38
2009-04-30 15:28:32 -05:00
Clark Williams
986688b00b
updated version string to 0.37
2009-04-29 15:31:10 -05:00
Clark Williams
0e2f1a14ff
version bump to 0.36
2009-04-20 14:09:12 -05:00
Clark Williams
876c33c8a9
fixed release target in Makefile so rpms will build
...
updated version string to 0.35
minor format tweak to make variables
Signed-off-by: Clark Williams <williams@redhat.com>
2009-04-07 15:31:32 -05:00
Uwe Kleine-König
f2e4eebd40
split function of DESTDIR into DESTDIR + prefix
...
It's more common that DESTDIR doesn't include /usr or /usr/local but
only the base directory for a relocated installation. The in-tree
prefix is usually named "prefix".
"usually" here means as it is done by autoconf and as it is expected by
the Debian package helpers.
While at it also make the other path variables match this convention.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Clark Williams <williams@redhat.com>
2009-04-07 15:14:53 -05:00
Clark Williams
6f3669db23
version bump to 0.34
2009-04-05 09:41:51 -05:00
Clark Williams
99ba86e19c
version bump to 0.33
2009-03-30 09:21:37 -05:00
Clark Williams
64cca12051
version bump to 0.32
2009-03-28 09:39:51 -05:00
Clark Williams
f4e80a2fb0
version bump to 0.31
2009-03-20 16:15:33 -05:00
Alessio Igor Bogani
f5da548e25
Avoid ChangeLog erasing in tarball release
...
Execute a make clean into a rt-tests directory, exploded from a tarball,
cause erroneous erasing of the ChangeLog file. Let make do it only if it
executes under git tree.
Signed-off-by: Alessio Igor Bogani <abogani@texware.it>
Signed-off-by: Clark Williams <williams@redhat.com>
2009-03-17 16:18:46 -05:00
Clark Williams
41902b4ca0
corrected version bump
2008-12-18 16:52:12 -06:00
Clark Williams
495ed19184
bumped version string
2008-12-18 16:47:23 -06:00
Alessio Igor Bogani
a038647f40
Makefile patch to prevent deleting too many files in clean operation
2008-12-11 10:13:07 -06:00
Clark Williams
b4265a0e8e
changed release target in Makefile
2008-10-22 15:00:57 -05:00
Clark Williams
3ece612bd1
add option to run for specified duration
...
Add an option (--duration or -D) to specify how long the test should run
Signed-off-by: Clark Williams <williams@redhat.com>
2008-10-22 14:33:51 -05:00
Thomas Gleixner
81523d18b4
Release 0.27
...
Testing before release would be better !
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2008-07-28 12:45:20 +02:00
Thomas Gleixner
d14c3da7c8
release v0.26
...
Remove the rpm spec file from git as it is autogenerated.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2008-07-28 12:35:08 +02:00
Thomas Gleixner
db07df3e98
Release v0.25
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2008-07-27 22:50:56 +02:00
Thomas Gleixner
8e30668e24
rt-tests: v0.24
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2008-07-12 04:22:44 +02:00
Thomas Gleixner
4f55874ffd
Version 0.23
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2008-07-06 19:21:42 +02:00
Carsten Emde
7a052daef0
rt-tests/Makefile: Import an updated version number into RPM spec file
...
Import an updated version number into RPM spec file.
Signed-off-by: Carsten Emde <C.Emde@osadl.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2008-06-05 08:41:16 +02:00
Thomas Gleixner
b0841096ce
Version 0.22
...
I'm getting old and forgetful :)
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2008-06-04 17:30:55 +02:00
Thomas Gleixner
8d09028ba3
Version 0.21
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2008-06-04 17:22:51 +02:00
Thomas Gleixner
894308125b
Make: Exclude releases subdir from release tarball
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2008-06-04 17:21:55 +02:00
Thomas Gleixner
1a731d646e
Bump version number to 0.20
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2008-04-18 14:39:41 +02:00
Thomas Gleixner
44b84cd87f
v0.19
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2008-01-04 09:00:33 +01:00
Clark Williams
58d8df8cc8
added distclean target to cleanup rpm dirs
2008-01-03 13:33:23 -06:00
Clark Williams
fea12d35c3
added pi_tests; added specfile for rpm generation
2008-01-03 13:26:22 -06:00
Thomas Gleixner
ca606d3fe9
v0.18
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2007-12-14 16:03:34 +01:00
Thomas Gleixner
d00cc0754a
Some more Makefile updates
...
- add changelog and install targets
- replace $(CROSS_COMPILE)gcc with $(CC)
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2007-12-14 16:03:34 +01:00
Alessio Igor Bogani
be4a5a9807
Unified versions into Makefile
...
Packaging version control
Signed-off-by: Alessio Igor Bogani <abogani@texware.it>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2007-12-14 15:25:29 +01:00
Alessio Igor Bogani
e6b7207115
Re-organized sources
...
Move code around to make packaging easier.
Signed-off-by: Alessio Igor Bogani <abogani@texware.it>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2007-12-14 15:25:29 +01:00