Displaying 20 results from an estimated 70 matches for "subtest".
2009 Nov 10
1
source() vs attach()0
Hello,
After hours of googling I could not resolve the following (although it
seems simple):
I would like to put subfunctions in a separate .R file that is then
called with source() from inside several "main" functions. A crude
example would be as follows:
**** file subtest.R **********
subtest <- function() {
foo <<- foo+1
}
******************************
*** main function ************
test<-function(foo) {
source("test.R",local=TRUE)
subtest()
return(foo)
}
******************************
Then executing the code
> test(1)
work...
2005 Feb 18
1
eapply weirdness/bug
The following looks like an 'eapply' bug to me:
t/subtest> e <- new.env()
t/subtest> e$tempo <- quote( 1+'hi')
t/subtest> lapply( ls( e), function( x) length( get( x,e)))
[[1]]
[1] 3
# seems reasonable-- e$tempo is a 'call' object of length 3
t/subtest> eapply( e, length)
Error in 1 + "hi" : non-numeric argume...
2010 Apr 23
4
basic table statistics
...rrences of factors in
type and then does something like the *summary* function, but factor
specific.
I tried:
vector()->Median
vector()->SD
vector()->Mean
as.data.frame(table(type))->int
for (count in c(1:(nrow(int))))
{
subset(test, ty==as.character(int$type[count])) -> subtest
median(subtest$val)->Median[count]
sd(subtest$val)->SD[count]
mean(subtest$val)->Mean[count]
}
cbind(int,Median,SD,Mean)
This works, but: isn't this much too complicated, I bet there is such
functionality embedded in the base packages, but I cannot find it.
Maxim
[[alternat...
2019 Jun 25
2
Emails not visible after renaming folders
Hello,
I have strange problem with "losing" emails after rename mail
folder(s) (via imap client: thunderbird, roundcude, etc..)
How to reproduce:
1. Create some folder name, like TEST
2. Create sub-folder under TEST (like SUBTEST)
Structure:
TEST
|--SUBTEST
# doveadm mailbox list -u postmaster at testmailbox
Spam
Trash
Sent
Drafts
INBOX
TEST
TEST/SUBTEST
3. Move (or copy) mails from INBOX to SUBTEST (all looks fine, and
mails visible under SUBTEST)
4. Rename TEST folder to any new name, NEWTEST
Let`s try to view m...
2020 Mar 20
0
[ANNOUNCE] igt-gpu-tools 1.25
...s.txt and make sure you don't get any warnings when configuring
the project. (Simon Ser)
- Compile-testing CI for MIPS. (Guillaume Tucker)
- Various igt_runner reliability improvements (Petri Latvala & Arkadiusz Hiler)
- Switched GEM tests to engine discovery. (Tvrtko Ursulin et al)
- Subtests can now be documented and their descriptions are available in
generated HTML docs and on the command line via --describe. Documenting new
tests is mandatory. (Arkadiusz Hiler)
- Unified library for EDID creation (Simon Ser)
- Chamelium port auto-discovery (Simon Ser)
- Tigerlake support (Lu...
2015 Mar 12
0
[ANNOUNCE] intel-gpu-tools 1.10
...ilures for quicker diagnostics of automated test run results
(Thomas Wood).
- A lot of small polish all over the test library.
- Piles of new testcases and improvements to existing ones as usual.
Complete list of changes since 1.9:
Akash Goel (1):
igt/gem_mmap_wc: Add the invalid flags subtest
Alan Coopersmith (7):
Fix #ifdef check for _SC_AVPHYS_PAGES in intel_get_avail_ram_mb()
Solaris needs to #include <sys/kd.h> instead of <linux/kd.h>
Use pthread calls instead of raw syscalls on non-Linux systems
Need to #include <libgen.h> for basename() o...
2015 Dec 02
0
[ANNOUNCE] intel-gpu-tools 1.13
...ties (Daniel Stone)
- New test: gem_request_retire targets request retirement code paths
(Tvrtko Ursulin)
- New test: core_setmaster_vs_auth checks that drop/setMaster correctly
transfer master state (Thomas Hellstrom/Daniel Vetter)
- Wildcard characters are now accepted when using the --run-subtest command
line option to specify multiple subtests to run. (Thomas Wood)
- Add support for Broxton in intel_audio_dump (Han Lu)
- Added Kabylake support (Rodrigo Vivi/Wayne Boyer)
- Many other bug fixes and improvements
Complete list of changes since 1.12:
Ander Conselvan de Oliveira (1):...
2019 Jun 26
2
Emails not visible after renaming folders
...o,
>>
>> I have strange problem with "losing" emails after rename mail
>> folder(s) (via imap client: thunderbird, roundcude, etc..)
>>
>> How to reproduce:
>>
>> 1. Create some folder name, like TEST
>> 2. Create sub-folder under TEST (like SUBTEST)
>>
>> Structure:
>>
>> TEST
>> ? |--SUBTEST
>>
>>
>> # doveadm? mailbox list? -u postmaster at testmailbox
>> Spam
>> Trash
>> Sent
>> Drafts
>> INBOX
>> TEST
>> TEST/SUBTEST
>>
>> 3. Move (or cop...
2017 Mar 13
1
[ANNOUNCE] intel-gpu-tools 1.18
..._kms: Fix drm_plane leak
lib/igt_kms: Neaten up pipe->planes[] assignment
lib/igt_kms: Fix possible out-of-bounds access
lib/igt_kms: Fix memory corruption when there's no cursor plane
lib/igt_kms: Remove redundant cursor code
Chris Wilson (90):
lib/igt_kmod: s/subtest__/igt__/ for kernel parameters
lib/igt_kmod: Update the prefix match string length
igt/kms_flip: Poll before reading from nonblocking drm_fd
igt/drv_selftest: Adapt to mock/late split
lib/kselftests: Eliminate ENOTTY hack
Revert "lib/kselftests: Eliminate ENOTTY h...
2016 Sep 29
2
[cfe-dev] improving test-suite`s FP subtests to be able to compare both exact-match outputs and more-optimized builds that may have different outputs due to FP optimizations
...fusion off,
>> run the program, capture the output and save it,
>> hash it and compare it against the reference hash.
>> 2) if comparison against the reference hash says "not equal",
>> fail the test and stop [i.e. stop testing this particular subtest]
>> 3) compile the program with FP fusion on/"fast", capture the output,
>> compare it using "fpcmp" and some positive tolerance against the
>> output of the non-fusion build of the same source code;
>> fail only if outside the toler...
2016 Sep 29
2
[cfe-dev] improving test-suite`s FP subtests to be able to compare both exact-match outputs and more-optimized builds that may have different outputs due to FP optimizations
...t; To: "Abe Skolnik" <a.skolnik at samsung.com>
> Cc: "llvm-dev" <llvm-dev at lists.llvm.org>, "cfe-dev" <cfe-dev at lists.llvm.org>
> Sent: Thursday, September 29, 2016 6:20:09 PM
> Subject: Re: [cfe-dev] [llvm-dev] improving test-suite`s FP subtests to be able to compare both exact-match outputs
> and more-optimized builds that may have different outputs due to FP optimizations
>
>
> > On Sep 29, 2016, at 3:59 PM, Abe Skolnik <a.skolnik at samsung.com>
> > wrote:
> >
> > Dear all,
> >
> >...
2019 Jun 25
0
Emails not visible after renaming folders
...via dovecot wrote:
> Hello,
>
> I have strange problem with "losing" emails after rename mail
> folder(s) (via imap client: thunderbird, roundcude, etc..)
>
> How to reproduce:
>
> 1. Create some folder name, like TEST
> 2. Create sub-folder under TEST (like SUBTEST)
>
> Structure:
>
> TEST
> |--SUBTEST
>
>
> # doveadm mailbox list -u postmaster at testmailbox
> Spam
> Trash
> Sent
> Drafts
> INBOX
> TEST
> TEST/SUBTEST
>
> 3. Move (or copy) mails from INBOX to SUBTEST (all looks fine, and
> mails...
2017 Oct 04
0
[ANNOUNCE] intel-gpu-tools 1.20
...Remove remaining assert on CUR <= MAX"
lib/ioctl_wrappers: Fix some comments
configure.ac: Make AMDGPU depend on libdrm >= 2.4.76
igt: Add LOCAL defines for distro compatibility
lib/igt_debugfs: Update documentation and cleanup
tests/igt_command_line: Ignore subtest list for kms_ccs
tools: Add intel_vbt_defs.h to Makefile.sources
scripts/run-tests.sh: Use piglit's --ignore-missing
Ausmus, James (1):
Fix compilation on some distros
Brian Starkey (1):
lib/igt_kms: Fix override_mode handling
Chris Wilson (63):
benchmarks/gem_b...
2012 Sep 26
3
rows extraction
Dear all,
I want to extract rows from a data frame shown here as "test". For example:
rows with with sorting
PKB123 PKB22 PKB23 PKB32 CTV19 CTV20 PKB11 PKB11
> dput(test)
structure(list(Name. = structure(c(1L, 2L, 3L, 4L, 5L, 6L, 7L,
8L, 9L, 10L, 11L, 12L, 12L, 13L, 14L, 15L, 16L, 17L, 18L, 19L,
19L), .Label = c("CTV10", "CTV11", "CTV12",
2019 Aug 06
0
Emails not visible after renaming folders
...ave strange problem with "losing" emails after rename mail
>>> folder(s) (via imap client: thunderbird, roundcude, etc..)
>>>
>>> How to reproduce:
>>>
>>> 1. Create some folder name, like TEST
>>> 2. Create sub-folder under TEST (like SUBTEST)
>>>
>>> Structure:
>>>
>>> TEST
>>> ? |--SUBTEST
>>>
>>>
>>> # doveadm? mailbox list? -u postmaster at testmailbox
>>> Spam
>>> Trash
>>> Sent
>>> Drafts
>>> INBOX
>>> TEST...
2015 Sep 11
0
[ANNOUNCE] intel-gpu-tools 1.12
...sts. (Chris Wilson)
- Old register tools that were superseded by intel_reg have been removed.
- Various tests have been marked "basic", to indicate they are suitable for
use in basic acceptance testing. (Jesse Barnes)
- Per-ring gem_storedw_loop tests combined into a single test with subtests.
(Jesse Barnes)
- New "aubdump" tool, used to launch an application and capture rendering to
an AUB file. (Kristian Høgsberg Kristensen)
- Cherryview support added to intel_display_poller. (Ville Syrjälä)
- Skylake and Broadwell support added to gem_gpgpu_fill tests.
(Dominik Ze...
2006 Jun 01
1
call method of superclass
Hi again,
Is it possible to call a method of the superclass within a method with
the same name in the derived class? e.g. : call Test::list from
SubTest::list (SubTest being a subclass of Test)?
Best regards,
--
----------------------------------------------------------------------
Yannick Majoros http://www.inma.ucl.ac.be/~majoros
Informaticien UCL/INMA-MEMA
4, avenue G. Lema?tre
B-1348 Louvain-la-Neuve
Belgium
Tel: +32-10-47.80.10
Fax: +32-10...
2016 May 31
0
[ANNOUNCE] intel-gpu-tools 1.15
...ctions) (Tiago Vignatti)
- Several tests have gained to ability to be run on different platforms
than Intel: tests/testdisplay (Tomeu Vizoso), tests/kms_panel_fitting
(Robert Foss), tests/kms_flip_event_leak, tests/kms_flip (Tomeu Vizoso).
- compute exitcode first: In the case of running multiple subtests which all
happen to be skipped, igt_exitcode is 0, but the final exit code will be 77.
(Chris Wilson)
- Shorten tests/kms_flip test (Tvrtko Ursulin)
- Half the timeout for suspend to RAM and a third for suspend to disk
(Marius Vlad)
- lib: Pass format instead of bpp to create_bo_for_fb (Ville S...
2023 Mar 30
2
[Bridge] [PATCH v2 net-next 6/6] selftests: forwarding: add dynamic FDB test
...0, 2023 at 09:07:53PM +0200, Hans Schultz wrote:
> Not true, it reveals that I forgot to put it in the patch, that's all. As
> I cannot run several of these tests because of memory constraints I link
> the file to a copy in a rw area where I modify the list and just run one
> of the subtests at a time. If I try to run the whole it always fails
> after a couple of sub-tests with an error.
>
> It seems to me that these scripts are quite memory consuming as they
> accumulate memory consuption in relation to what is loaded along the
> way. A major problem with my system....
2023 Mar 31
1
[Bridge] [PATCH v2 net-next 6/6] selftests: forwarding: add dynamic FDB test
...:53PM +0200, Hans Schultz wrote:
>> Not true, it reveals that I forgot to put it in the patch, that's all. As
>> I cannot run several of these tests because of memory constraints I link
>> the file to a copy in a rw area where I modify the list and just run one
>> of the subtests at a time. If I try to run the whole it always fails
>> after a couple of sub-tests with an error.
>>
>> It seems to me that these scripts are quite memory consuming as they
>> accumulate memory consuption in relation to what is loaded along the
>> way. A major probl...