<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://aznot.com/index.php?action=history&amp;feed=atom&amp;title=BullseyeCoverage</id>
	<title>BullseyeCoverage - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://aznot.com/index.php?action=history&amp;feed=atom&amp;title=BullseyeCoverage"/>
	<link rel="alternate" type="text/html" href="https://aznot.com/index.php?title=BullseyeCoverage&amp;action=history"/>
	<updated>2026-05-07T06:31:47Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://aznot.com/index.php?title=BullseyeCoverage&amp;diff=4699&amp;oldid=prev</id>
		<title>Kenneth: /* License Manager */</title>
		<link rel="alternate" type="text/html" href="https://aznot.com/index.php?title=BullseyeCoverage&amp;diff=4699&amp;oldid=prev"/>
		<updated>2018-05-21T21:06:37Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;License Manager&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== BullseyeCoverage ==&lt;br /&gt;
&lt;br /&gt;
Bullseye Code Coverage&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
&lt;br /&gt;
http://www.bullseye.com/cgi-bin/download.sh&lt;br /&gt;
&lt;br /&gt;
== Floating License ==&lt;br /&gt;
&lt;br /&gt;
Floating License - http://www.bullseye.com/license.html&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;“BullseyeCoverage is sold under a floating license. The product may be used by any number of users, limited to the maximum number of users specified by the license at any one time. A license is in use when you run an executable in the BullseyeCoverage product distribution. Running a test program measured by BullseyeCoverage does not use a license. Each platform (Windows, Linux x86, etc) is licensed separately; licenses do not float between platforms.”&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== License Manager ==&lt;br /&gt;
&lt;br /&gt;
Using the License Manager - http://www.bullseye.com/help/licenseManager.html&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
The license manager is optional. It is provided for organizations that have a strict policy that the number of simultaneous users never exceed the number of users specified by your license, or where estimating the number of simultaneous users is not feasible. If your network file system is not completely reliable or performs slowly, using the license manager may impede usage of the product. Therefore, you may manage license utilization based on an estimate of the number of simultaneous users, rather than using the license manager.&lt;br /&gt;
&lt;br /&gt;
The license manager limits the number of simultaneous users to the number allowed by your license. After the license manager grants all available user licenses, subsequent requesters wait until a license is released. The license manager consumes one user license for the duration of each BullseyeCoverage program. The license manager does not apply to executables instrumented with BullseyeCoverage, only to the programs that ship with BullseyeCoverage. The license manager does not apply to compiler interceptors when coverage build is disabled. In all other cases, BullseyeCoverage programs acquire a license when they start and release the license when they terminate, regardless of whether coverage build is enabled. Note that the Coverage Browser consumes a license even if it is idle. However, if all licenses are busy, cov01 and covlmgr proceed without acquiring a license. This exception allows you to disable coverage build and to monitor the license manager, even when all licenses are busy.&lt;br /&gt;
&lt;br /&gt;
If a BullseyeCoverage program holding a license is killed and therefore does not release the license, that license remains unavailable for 10 minutes, after which it is automatically released.&lt;br /&gt;
&lt;br /&gt;
You can use the license manager with an evaluation license. The license manager cannot be used with an unlimited license. &lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Status of licenses:&lt;br /&gt;
 covlmgr --status&lt;br /&gt;
&lt;br /&gt;
Change license manager:&lt;br /&gt;
 covlmgr --use -f //shareserver/shared/path/LicenseManager&lt;br /&gt;
&lt;br /&gt;
Add license key:&lt;br /&gt;
 covlmgr --add [key]&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
To measure coverage of a project:&lt;br /&gt;
# Enable Coverage Build&lt;br /&gt;
## from within the Coverage Browser, or&lt;br /&gt;
## from the Microsoft Visual Studio menu &amp;quot;Tools&amp;quot;, or&lt;br /&gt;
## with the cov01 command&lt;br /&gt;
# Rebuild and run the project&lt;br /&gt;
# Run the Coverage Browser&lt;br /&gt;
&lt;br /&gt;
From command line...&lt;br /&gt;
&lt;br /&gt;
Start Coverage:&lt;br /&gt;
 cov01 --on&lt;br /&gt;
&lt;br /&gt;
Get Status:&lt;br /&gt;
 cov01 --status&lt;br /&gt;
&lt;br /&gt;
Build:&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
Stop Coverage:&lt;br /&gt;
 cov01 --off&lt;br /&gt;
&lt;br /&gt;
== Windows ==&lt;br /&gt;
&lt;br /&gt;
Use simple UNC license file manager with something like \\fileserver\files\Bullseye\manager for convenience&lt;br /&gt;
&lt;br /&gt;
== Linux ==&lt;br /&gt;
&lt;br /&gt;
 ./install --prefix /opt/BullseyeCoverage --key [LICENSE_KEY]&lt;br /&gt;
&lt;br /&gt;
or just ./install and follow the prompts&lt;br /&gt;
&lt;br /&gt;
Add /opt/BullseyeCoverage/bin to PATH variable&lt;br /&gt;
&lt;br /&gt;
 /opt/BullseyeCoverage/bin/cov01&lt;br /&gt;
&lt;br /&gt;
 export COVFILE=`pwd`/test.cov&lt;br /&gt;
 cov01 -1&lt;br /&gt;
&lt;br /&gt;
View results in CoverageBrowser or with covhtml&lt;br /&gt;
&lt;br /&gt;
 covhtml `pwd`/test.cov&lt;br /&gt;
&lt;br /&gt;
=== Linux License Manager ===&lt;br /&gt;
&lt;br /&gt;
Linux License Manager - http://www.bullseye.com/help/licenseManager.html&lt;br /&gt;
&lt;br /&gt;
To install with license manager:&lt;br /&gt;
 ./install --use /server/BullseyeCoverageLicenseManager&lt;br /&gt;
&lt;br /&gt;
See license status:&lt;br /&gt;
 covlmgr --status&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# covlmgr --status&lt;br /&gt;
BullseyeCoverage License Manager Administration 8.13.45 Linux-x64&lt;br /&gt;
Copyright (c) Bullseye Testing Technology 1990-2018&lt;br /&gt;
License file: /shared/Bullseye/LicenseManager/BullseyeCoverageLicenseManager&lt;br /&gt;
Version: 6&lt;br /&gt;
Holding: kenneth@kwin(Windows), root@klinux(Linux x64)&lt;br /&gt;
Total wait minutes: 0&lt;br /&gt;
Peak users waiting: 0&lt;br /&gt;
User log: root@klinux, kenneth@kwin&lt;br /&gt;
Licenses:&lt;br /&gt;
License 40XXX&lt;br /&gt;
Valid for Windows: 4 users, Linux x64: 6 users, Total: 10 users&lt;br /&gt;
Maintenance expired 2018-02-15. License is perpetual&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
License used by Compiler Injectors, Coverage Browser, etc.&lt;br /&gt;
&lt;br /&gt;
=== Linux Quick Test ===&lt;br /&gt;
&lt;br /&gt;
test.c:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  int main() {&lt;br /&gt;
    return 0;&lt;br /&gt;
  }&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export PATH=/opt/BullseyeCoverage/bin:$PATH&lt;br /&gt;
export COVFILE=/tmp/test.cov&lt;br /&gt;
cov01 --on&lt;br /&gt;
gcc test.c -o test&lt;br /&gt;
cov01 --off&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
check if the /tmp/test.cov there?&lt;br /&gt;
&lt;br /&gt;
Run test and update Bullseye table:&lt;br /&gt;
 ./test&lt;br /&gt;
&lt;br /&gt;
Check Coverage Browser&lt;br /&gt;
 cd /opt/BullseyeCoverage/bin&lt;br /&gt;
 ./CoverageBrowser&lt;br /&gt;
&lt;br /&gt;
== to HTML ==&lt;br /&gt;
&lt;br /&gt;
 # Export coverage measurements as HTML&lt;br /&gt;
 # covhtml [dir]&lt;br /&gt;
 covhtml /tmp/output/&lt;br /&gt;
&lt;br /&gt;
=== HTML Converter ===&lt;br /&gt;
&lt;br /&gt;
Bullseye HTML converter so that the coverage report can be converted to HTML and browse by testers who does not have Bullseye installed in their machine. It allow testers to analyze the code coverage and create corner cases test cases.&lt;br /&gt;
&lt;br /&gt;
GitHub - simplivity/bullshtml: Bullseye HTML Coverage Report Generator - https://github.com/simplivity/bullshtml&lt;br /&gt;
&lt;br /&gt;
== to XML ==&lt;br /&gt;
&lt;br /&gt;
 export COVFILE=/tmp/test.cov&lt;br /&gt;
 # Export coverage measurements as XML&lt;br /&gt;
 covxml&lt;br /&gt;
&lt;br /&gt;
== Merge ==&lt;br /&gt;
&lt;br /&gt;
Merge results from same coverage file run under different systems or environments.&lt;br /&gt;
&lt;br /&gt;
 covmerge [input.cov] [cov1.cov] [cov2.cov...]&lt;br /&gt;
&lt;br /&gt;
input.cov will be updated with results&lt;br /&gt;
&lt;br /&gt;
== Clear Measurements ==&lt;br /&gt;
&lt;br /&gt;
 export COVFILE=/tmp/test.cov&lt;br /&gt;
 covclear&lt;br /&gt;
&lt;br /&gt;
== Report Coverage ==&lt;br /&gt;
&lt;br /&gt;
 export COVFILE=/tmp/test.cov&lt;br /&gt;
&lt;br /&gt;
 # Summarize measurements by directory&lt;br /&gt;
 covdir&lt;br /&gt;
&lt;br /&gt;
 # Summarize measurements by function&lt;br /&gt;
 covfn&lt;br /&gt;
&lt;br /&gt;
 # Summarize measurements by source file&lt;br /&gt;
 covsrc&lt;br /&gt;
&lt;br /&gt;
 # Show low-level coverage measurements with annotated source code&lt;br /&gt;
 covbr&lt;br /&gt;
&lt;br /&gt;
== keywords ==&lt;/div&gt;</summary>
		<author><name>Kenneth</name></author>
	</entry>
</feed>