Commit Graph

1620 Commits

Author SHA1 Message Date
jmmv
9e95dfadb1 Pull up 702fa99a25c1b27e4c501e4a504f36b74106ea97 from upstream
This reverts the default timeout for test cases back to 300 seconds.
The change in the release was quite blind because it did not anticipate
many existing tests to be slow enough to overflow the modified timeout
(30 seconds), specially in anita.

My plan to really fix this is to let test cases specify their sizes in
a declarative way instead of specifying timeouts in seconds (the timeout
being defined by atf-run on a size basis), so I'm not going to bother to
go over all existing tests trying to figure out which ones need a higher
timeout for now.  It is just easier to revert.
2010-11-16 17:55:56 +00:00
tsutsui
77acd29099 Add sample xorg.conf files for hpcarm, hpcmips, and hpcsh. 2010-11-13 02:07:28 +00:00
tsutsui
d1eadfe059 Provide port-specific sample xorg.conf files in xserver.tgz.
No particular comments on tech-x11.
2010-11-12 17:05:48 +00:00
pgoyette
603fd4b791 Calibrate the amount of time that a sleep() requires, and use that
interval instead of assuming that there are exactly 1000 real-time-clock
milliseconds per second!  On some ports when running under qemu, there
can be twice as many RTC milliseconds as expected.

This is part 2 of the changes required to make the libevent tests work
on port-amd64 under qemu.
2010-11-11 14:11:26 +00:00
pgoyette
21bfc7fd78 Adjust timers a bit so that the http timer can get a chance to expire,
even when running under qemu on platforms with a clock-skew problem.

The original 3-second timer was intended to be "longer than the http
timeout" (which is 2 seconds), and the updated 5-second value still meets
this requirement.  The updated value also meets the requirement even when
the http timeout stretches to 4-seconds under qemu.

This is part 1 of getting the libevent tests working on port-amd64 with
qemu.
2010-11-11 14:08:45 +00:00
roy
c1259c9577 Put correct init.d hooks into dhcpcd-run-hooks. 2010-11-10 14:12:28 +00:00
macallan
5f8ec2be4f don't build fbdev support on powerpc and sparc64 2010-11-10 04:08:56 +00:00
joerg
73bdaeedcd Add back easy_encoder.c, lost during the final 5.0.0 update. 2010-11-09 23:07:09 +00:00
lukem
70f37e1ba5 Don't set DPADD for HOSTPROGs 2010-11-09 00:11:37 +00:00
christos
b080945e93 PR/44063: Aleksey Cheusov: awk: setting NF doesn't change $i
http://www.opengroup.org/onlinepubs/009695399/utilities/awk.html

    ...
    References to nonexistent fields (that is, fields after $NF),
    shall evaluate to the uninitialized value.
2010-11-07 22:55:26 +00:00
jmmv
91113eeff8 Pull in post-release fix 3d5597b0076ade841abf03fc274da72d17cb3ad6 to resolve
issues with the default NetBSD settings.  Tests were producing invalid results
because they were unexpectedly reading the system-wide settings.
2010-11-07 17:54:03 +00:00
jmmv
3b8333d3c0 Adjust reachover build files after import of atf-0.12. 2010-11-07 17:46:45 +00:00
jmmv
0b634f1420 Help merge of atf-0.12. 2010-11-07 17:45:21 +00:00
jmmv
0ebb519dda Import atf 0.12:
Experimental version released on November 7th, 2010.

* Added the ATF_REQUIRE_THROW_RE to atf-c++, which is the same as
  ATF_REQUIRE_THROW but allows checking for the validity of the exception's
  error message by means of a regular expression.

* Added the ATF_REQUIRE_MATCH to atf-c++, which allows checking for a
  regular expression match in a string.

* Changed the default timeout for test cases from 5 minutes to 30 seconds.
  30 seconds is long enough for virtually all tests to complete, and 5
  minutes is a way too long pause in a test suite where a single test case
  stalls.

* Deprecated the use.fs property.  While this seemed like a good idea in
  the first place to impose more control on what test cases can do, it
  turns out to be bad.  First, use.fs=false prevents bogus test cases
  from dumping core so after-the-fact debugging is harder.  Second,
  supporting use.fs adds a lot of unnecessary complexity.  atf-run will
  now ignore any value provided to use.fs and will allow test cases to
  freely access the file system if they wish to.

* Added the atf_tc_get_config_var_as_{bool,long}{,_wd} functions to the atf-c
  library.  The 'text' module became private in 0.11 but was being used
  externally to simplify the parsing of configuration variables.

* Made atf-run recognize the 'unprivileged-user' configuration variable
  and automatically drop root privileges when a test case sets
  require.user=unprivileged.  Note that this is, by no means, done for
  security purposes; this is just for user convenience; tests should, in
  general, not be blindly run as root in the first place.
2010-11-07 17:43:22 +00:00
wiz
9e7cfea51a Sort options. 2010-11-07 11:50:23 +00:00
mrg
634cf7a288 fix NAMED_USE_PTHREADS != yes usage. 2010-11-06 21:32:49 +00:00
christos
b155e612fc PR/44052: Takahiro HAYASHI: chrooted ntpd refers freed memory
As mentioned in the pr, process_routing_msgs can delete the current reader,
so cache the next element before calling it.
2010-11-06 20:40:12 +00:00
uebayasi
4cca618331 Handle md(4)'s embedded root disk image and size symbol names other
than the default ones ("md_root_image" / "md_root_size").

(References to xmd(4) are deliberately removed.)
2010-11-06 16:03:23 +00:00
he
47147f658b To allow static linking, specify -lterminfo as well, and don't rely
on shared library inter-dependencies to pull everything together.
Fixes the build for sun2.
2010-11-05 10:50:50 +00:00
he
f5736be797 New pkg_install requires -llzma, so to support static linking, be
explicit about what libraries are required, and not only depend on
shared library inter-dependencies to pull that in.
Fixes the build for sun2.
2010-11-05 09:09:01 +00:00
christos
ce1a2860b6 Add otus firmware from:
http://damien.bergamini.free.fr/packages/openbsd/otus-firmware-1.0.tgz
2010-11-03 18:52:44 +00:00
joerg
8d2377123b Add public-domain 2010-11-02 19:17:02 +00:00
joerg
5ca507b93d Enable direct XZ support 2010-11-02 19:14:53 +00:00
joerg
6960a12118 Install XZ's header files. 2010-11-02 19:12:46 +00:00
joerg
b1de0a15dc Hook up xz into the build system. 2010-11-02 16:34:33 +00:00
joerg
67c9d7de30 Replace configure.ac with a stripped down version for later use by
src/tools.
2010-11-02 15:40:58 +00:00
joerg
5c6654a627 Use libc version of SHA256 on NetBSD. 2010-11-02 15:35:38 +00:00
joerg
4d1abfb29e Import stripped down version of xz-5.0.0. All non-public domain parts
are removed to provide a prestine version.
2010-11-02 15:20:20 +00:00
njoly
46b3723883 Do substitute __TESTSDIR__ when generating atf(7) man page. 2010-11-02 14:41:32 +00:00
mbalmer
aa94cc597c Link Lua to the build and add the resulting files to the distribution sets.
Document the addition of Lua and the change we made to the default settings.
2010-10-31 11:52:50 +00:00
mbalmer
2c6be0820c descend into the lua subdirectory 2010-10-31 11:29:06 +00:00
mbalmer
97213731c9 Lua build infrastructure 2010-10-31 11:26:01 +00:00
mbalmer
ee59b191f4 adjust the Lua configuration to our needs 2010-10-31 11:19:42 +00:00
mbalmer
33fc08400c add teh script used to prepare the source code 2010-10-31 11:18:20 +00:00
mbalmer
dbec530483 Import the (unaltered) Lua 5.1.4 source distribution. 2010-10-31 11:16:48 +00:00
mbalmer
debeea5823 Accidentally these files were imported one level to high, sorry about that. 2010-10-31 11:14:02 +00:00
mbalmer
56288e6a3c Import the (unaltered) Lua 5.1.4 distribution. 2010-10-31 11:08:37 +00:00
yamt
d76c56428e fall back to malloc+pread when stat+malloc doesn't seem to work.
it allows libelf work on /dev/ksyms.

XXX the name of the flag is a bit confusing and i think it's better to rename
MALLOCED to DATA_MALLOCED or such.  but i don't think it's worth increasing
the diff against the upstream for it.
2010-10-31 05:03:12 +00:00
wiz
7baeb17787 Fix typo. 2010-10-24 23:38:06 +00:00
christos
2c07b62e1d add zlib 2010-10-24 19:23:22 +00:00
tsutsui
bd3d0ec2b5 Reorder SUBDIR entries to make this more maintainable/readable:
- put xf86-input drivers first then xf86-video
 - put x86 (i386/amd64) first then other ${MACHINE}s in alphabetical order

XXX1: is it better to use Makefile.${MACHINE} (or something else)?
XXX2: should all ports include xf86-video-wsfb unconditionally?
XXX3: should we have common definitions for MI PCI video drivers?
2010-10-23 15:27:50 +00:00
tsutsui
c9ebdd5ea9 Remove dup xf86-video-cirrus for cats. 2010-10-23 15:16:04 +00:00
tsutsui
6fb1c3ebb4 Use simple .if/.endif statements rather than .if/.elif/.elif/.../.endif
to specify ${MACHINE} specific video drivers since it isn't a good idea
to add new ports at the end of statements.
2010-10-23 14:48:17 +00:00
jmmv
6098e2d456 Per gson@'s request, make these tests less verbose so that the output of
atf-run is not twice as large as before.  This is a pull-up of
699284e5c0d0a375958293e578af4e02d68d1182.

(I don't think it's reasonable to intentionally cripple tests as I have
just done here.  In the future I would like to only report the output of
failed test cases, which would allow us to undo this, but not there yet.)
2010-10-20 16:25:01 +00:00
jmmv
41e4dfff04 Adjust reachover makefiles for atf 0.11. 2010-10-20 09:20:09 +00:00
jmmv
0bc037cb06 Resolve import conflicts. 2010-10-20 09:17:21 +00:00
jmmv
895f502b7b Import atf-0.11:
Experimental version released on October 20th, 2010.

* The ATF_CHECK* macros in atf-c++ were renamed to ATF_REQUIRE* to match
  their counterparts in atf-c.

* Clearly separated the modules in atf-c that are supposed to be public
  from those that are implementation details.  The header files for the
  internal modules are not installed any more.

* Made the atf-check tool private.  It is only required by atf-sh and being
  public has the danger of causing confusion.  Also, making it private
  simplifies the public API of atf.

* Changed atf-sh to enable per-command error checking (set -e) by default.
  This catches many cases in which a test case is broken but it is not
  reported as such because execution continues.

* Fixed the XSTL and CSS stylesheets to support expected failures.
2010-10-20 09:14:17 +00:00
jmmv
8d9c35f478 Sync list of files to ignore in preparation for the 0.11 import. 2010-10-20 08:56:16 +00:00
christos
897c4f3091 remove the unused MAX_PFILE define from Aleksey Cheusov. 2010-10-18 15:58:05 +00:00
christos
7aa51b5177 PR/43981: Aleksey Cheusov: awk too small limit on number -f options
remove the limit
should we pullup to 5.x?
2010-10-17 22:12:22 +00:00