Displaying 5 results from an estimated 5 matches for "gunit".
Did you mean:
unit
2020 Jun 24
2
[RFC] Compiled regression tests.
...and used (& provided in the commit messages) python scripts to migrate all the tests, both the IR itself and the CHECK text. This is probably more readily automatable than a more free-form C++ based checking proposed here.
>
> That said, it sounds like the proposal is a lot closer to the GUnit tests, and if this testing strategy is valuable, it seems like it could be mostly achieved by adding some API utilities (like the one you proposed in the patch) to make it more convenient to run optimization passes in a GUnit test. It doesn't seem to me like an #ifdef based approach to embeddin...
2020 Jun 24
7
[RFC] Compiled regression tests.
Hello LLVM community,
For testing IR passes, LLVM currently has two kinds of tests:
1. regression tests (in llvm/test); .ll files invoking opt, and
matching its text output using FileCheck.
2. unittests (in llvm/unittests); Google tests containing the IR as a
string, constructing a pass pipeline, and inspecting the output using
code.
I propose to add an additional kind of test, which I call
2008 Mar 29
1
A patch for extending pdf device to embed popup text and web links
...2.000000000 +0900
--- R/src/library/grDevices/src/devPS.c 2008-03-30 01:44:20.000000000 +0900
***************
*** 49,54 ****
--- 49,55 ----
#include <R_ext/Error.h>
#include "Fileio.h"
#include "grDevices.h"
+ #include <Rgraphics.h> /* for GConvert and GUnit */
#ifdef HAVE_ERRNO_H
#include <errno.h>
***************
*** 5136,5141 ****
--- 5137,5146 ----
Rboolean inText;
char title[1024];
+ char **annots; /* annotations in a page */
+ int annotsmax; /* allocated size */
+ int annotspos; /* nubmer of annotations */
+...
2017 May 24
1
bugpoint, LLVM tools (opt, llc, etc), and symbolizing costs
On Tue, May 23, 2017 at 2:40 PM Reid Kleckner <rnk at google.com> wrote:
> We have the LLVM_DISABLE_CRASH_REPORT environment variable, but that's
> more about whether we should do crash reporting or not.
>
> It would be pretty reasonable to have another one to disable all this
> stuff. It would also be reasonable to have a cmake option that compiles
> this stuff away,
2012 Aug 13
0
[LLVMdev] [cfe-dev] [RFC] Extending and improving Clang's undefined behavior checking
...~~~~~~~~~~~~
> (anonymous namespace)::GetBucket(int)::threshold
> foo/bar.cc:863: note: in call to 'std::min<int>(const int &, const int &)' here
> foo/bar.cc:894: note: in call to '(anonymous namespace)::GetBucket(int)' here
> [...]
> gunit/gunit_main.cc:59: note: in call to 'testing::UnitTest::Run()' here
> <__libc_start_main>:0x2b29cb224d5d: note: in call to 'main' here
>
>
> This proposal intends to incorporate some, but not all, of IOC into mainline Clang. The parts which I'm not currently i...