Boost logo

Boost Users :

Subject: [Boost-users] ning Boost Regression Tests
From: Ted Byers (r.ted.byers_at_[hidden])
Date: 2011-04-29 11:57:39

I have been using boost for quite a while (for years I used boost without
running any tests other than those I wrote myself), and am now looking at
running the regression tests.


I found the statement: "To run every library's regression tests, run bjam
from Boost's /status directory."

What I haven't found is how to view the results of that testing on my own
machine. I don't know if that is a catastrophic failure of the test script,
or if I just didn't invoke bjam correctly.

I ran bjam (in cygwin's bash, on Windows 7), without any arguments, in
boost's status directory, and it executed a lot of tests. Obviously, that
produced a lot more output than can be copied here, but the last few lines
of output (after many many hundreds of lines of output) were:

      1 [main] bjam 9280 fhandler_dev_zero::fixup_mmap_after_fork: requested
0x772B0000 != 0x0 mem alloc base 0x772B0000, state 0x1000, size 8192, Win32
error 487

    263 [main] bjam 9280 C:\cygwin\home\Ted\boost_1_46_1\bjam.exe: *** fatal
error - recreate_mmaps_after_fork_failed

Stack trace:

Frame Function Args

0028E5D0 6102796B (0028E5D0, 00000000, 00000000, 74C98458)

0028E8C0 6102796B (6117EC60, 00008000, 00000000, 61180977)

0028F8F0 61004F1B (61180DAC, 00000000, 61180DA6, 0041A000)

0028F930 610061B1 (00000060, 02000000, 6116A724, 6116A720)

0028F960 610064C0 (00000000, 00000002, 00000000, 75053480)

0028FA20 6106FC15 (61000000, 00000001, 0028FD24, 00000001)

0028FA40 77169960 (6106F960, 61000000, 00000001, 0028FD24)

0028FB34 7716D8C9 (0028FD24, 7EFDD000, 7EFDE000, 7723206C)

0028FCB0 771837EE (0028FD24, 77130000, 77AB63F9, 00000000)

0028FD00 77182187 (0028FD24, 77130000, 00000000, 00000000)

0028FD10 77169E89 (0028FD24, 77130000, 00000000, 0001002F)

End of stack trace

      0 [main] bjam 8628 fork: child -1 - died waiting for longjmp before
initialization, retry 0, exit code 0x100, errno 11

vfork: Resource temporarily unavailable

Obviously the last test executed failed, but I found no summary of the
results, nothing to indicate whether or not most of the built library was
built correctly.

Did the regression test script abort without producing the summary, or do I
need to pass some argument to tell it to display a summary (I had in mind
the kind of output you get when building gcc, and you execute 'make check'
before executing 'make install', as one doesn't want to install a library or
anything else that didn't get built correctly)?



Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at