Displaying 11 results from an estimated 11 matches for "testlib".
Did you mean:
test_lib
2003 Aug 19
1
Problems building dlls for use with winelib
Hi,
I am currently having trouble building the DLLs of an application ported
from Win32 to Winelib - compiling, thanks to some hints from Dimi O.
Paun, now works fine, only(?) the final linking step fails. Since
Winelib-documentation is unfortunately pretty outdated, I tried to
orientate myself on the makefiles of the Winelib dlls in the cvs
/wine/dlls/ directory. I tried the following
2008 Dec 17
1
How to iterate dataframe within a hash
Dear all,
I have the following data structure
> print(testlib)
$tags
tag count.raw count.adj err
1 aaaaaaaaaa 94 93 0.5
2 aaaaaaaaac 1 2 0.2
3 aaaaaaaaag 3 2 0.1
4 aaaaaaaaca 1 1 0.003
I want to...
2011 Dec 13
1
[LLVMdev] [PATCH] utils/unittest: Consistency of gtest and gtest_main libs.
...ged, 9 insertions(+), 6 deletions(-)
diff --git a/unittests/Makefile.unittest b/unittests/Makefile.unittest
index 580ad7d..bd32aed 100644
--- a/unittests/Makefile.unittest
+++ b/unittests/Makefile.unittest
@@ -34,7 +34,7 @@ ifneq ($(HAVE_PTHREAD), 1)
CPP.Flags += -DGTEST_HAS_PTHREAD=0
endif
-TESTLIBS = -lGoogleTest -lUnitTestMain
+TESTLIBS = -lgtest -lgtest_main
ifeq ($(ENABLE_SHARED), 1)
ifneq (,$(RPATH))
diff --git a/utils/llvm-build/llvmbuild/componentinfo.py b/utils/llvm-build/llvmbuild/componentinfo.py
index 230ae21..3aa1e86 100644
--- a/utils/llvm-build/llvmbuild/componentinfo.py
+...
2018 Jan 04
0
writing llvm pass to instrument read and write
Hello All,
I am trying to write llvm pass to instrument function in external library. I am using clang to automatically load my pass. I have test.cpp which calls functions in library testlib.so. I have written llvm pass to instrument all reads and writes in test.cpp and call function(recordRW) in testlib.so.
this is how my pass looks like -
for (auto &BB : F) {
for (auto &I : BB) {
// Is this a load or store? Get the address.
Value *Ptr = nullptr;...
2018 Jan 04
0
writing llvm pass for external library
Hello All,
I am trying to write llvm pass to instrument function in external library. I am using clang to automatically load my pass. I have test.cpp which calls functions in library testlib.so. I have written llvm pass to instrument all reads and writes in test.cpp and call function(recordRW) in testlib.so.
this is how my pass looks like -
for (auto &BB : F) {
for (auto &I : BB) {
// Is this a load or store? Get the address.
Value *Ptr = nullptr;...
2007 Aug 30
4
Command line vs config file override for configuration params
...and so on.
I have noticed that the $libdir (and probably the other configuration
options too) sources from puppet.conf are not overridden by specifying
--libdir=blah on the commmand line to puppet.
I can illustrate this with --configprint:
# puppet --verbose --debug --color=false --libdir=`pwd`/testlib
--configprint libdir
/var/lib/puppet/plugins
(this comes from puppet.conf in /etc/puppet)
# sudo puppet --verbose --debug --color=false --libdir=`pwd`/testlib
--config /dev/null --configprint libdir
/users/unix/sa_dewha/SVNCheckOut/bootstrap/puppet/plugins/types/allowed/
testlib
(this is as inten...
2010 Aug 15
0
[LLVMdev] [PATCH] Capability of Win32.DLL with ENABLE_SHARED
...previous r110016-shlib-dll-2.diff.txt.
Thank you in advance...Takumi
-------------- next part --------------
diff --git a/unittests/Makefile.unittest b/unittests/Makefile.unittest
index 2a701a0..9a75b2c 100644
--- a/unittests/Makefile.unittest
+++ b/unittests/Makefile.unittest
@@ -37,10 +37,10 @@ TESTLIBS = -lGoogleTest -lUnitTestMain
ifeq ($(ENABLE_SHARED), 1)
# Add the absolute path to the dynamic library. This is ok because
# we'll never install unittests.
- LD.Flags += $(RPATH) -Wl,$(LibDir)
+ LD.Flags += $(RPATH) -Wl,$(SharedLibDir)
# Also set {DYLD,LD}_LIBRARY_PATH because OS...
2006 Jul 08
1
access to lib?
Do I need to do anything special to access classes in RAILS_ROOT/lib from a worker?
Maybe:
require File.dirname(__FILE__) + ''../my_lib.rb''
or does it do that automatically like a controller does?
Also if I write a unit test for a worker that is accessing AR, is there anything special needed to
be done to access fixtures etc to test it?
Thanks
--
Jim Morris,
2007 Feb 02
1
Working demo of search engine using boolean query.
...--------#
url : index=S field
text : indexnopos truncate=1024 field
#------------------------------------------------------------------------------#
# Perl Search Script
#------------------------------------------------------------------------------#
#!/usr/bin/perl -w
use strict;
use ExtUtils::testlib;
use Search::Xapian qw/:all/;
#------------------------------------------------------------------------------#
my $primary_terms = "Swebmd.com Shealth.com Smyhealthcare.com
Shealthfinder.gov";
my $secondary_terms = "fitness Diseases diet science ";
$secondary_terms =~ tr/A-Z/a-...
2011 Nov 25
0
NUT QA regression testing script (was: Upgraded Buildbot)
...commands the same across all
>> branches, though, so maybe we should put some dummy "make check" code
>> into the trunk?
>
> I'll have to look since it's still very ubuntu'ish.
> but apart from python requirements (unittest, subprocess, sys, os, time,
> testlib), only the paths and init methods remains to be adapted. So not that
> much, and the standard @python test should be enough with the deps being
> satisfied.
> I'd like to see the test plan and test cases formalized (in Asciidoc format)
> and applied as much as possible using this. I...
2010 Aug 05
3
[LLVMdev] [PATCH] Capability of Win32.DLL with ENABLE_SHARED
Anton,
Thanks for your comment.
2nd patch attached.
- s/SharedDir/SharedLibDir/g
- move prefix=cyg sunk into if(cygwin or mingw)
arigato gozaimasu...Takumi
* Additional issues
- You may build LLVMHello.dll but I don't modify lib/Transforms/Makefile.
Because making LLVMHello.dll requires the library LLVM.dll,
but it oughta be on the way to making libs at building