Displaying 2 results from an estimated 2 matches for "_unit".
Did you mean:
unit
2013 Oct 16
1
[LLVMdev] Unexpected behaviour of the LLVM gold plugin with --allow-multiple-definition
...LLVM gold plugin, I have encountered an unexpected
behaviour when the option --allow-multiple-definition (or -z muldefs) is
specified for the linker.
Let's suppose the following scenario with four simple source files:
----- main.c ------
#include "unit.h"
int main() {
only_in_unit1();
only_in_unit2();
return get_unit_id();
}
----- unit.h ------
#ifndef _UNIT
#define _UNIT 1
int get_unit_id( void );
void only_in_unit1( void );
void only_in_unit2( void );
#endif
----- unit1.c ------
#include "unit.h"
int get_unit_id( void ) {
return 1;
}
void o...
2012 Mar 02
1
seeing feedback when R CMD check pkg runs unit tests.
...making use of unit testing, and I
make use of the svUnit module, part of SciViews-R.
I also make use of examples in the .Rd files.
my question regards 'R CMD check pkg'.
if an _example_ is not run correctly, I get clear feedback on the
command line where I run 'R CMD check pkg'. _unit tests_ on the other
hand may give failure or error, or may be marked as skipped. all these
conditions are caught by the unit testing module that allows the unit
testing script to produce a complete report.
if the unit testing module manages to run the tests, the report is
generated and 'R CMD...