search for: test_source

Displaying 18 results from an estimated 18 matches for "test_source".

2013 Aug 22
2
[LLVMdev] [RFC PATCH] X32 ABI support for Clang/compiler-rt (compiler-rt patch)
...891621025 +0000 @@ -41,7 +41,18 @@ SupportedArches += x86_64 endif else - SupportedArches := x86_64 + # x86-64 arch has two ABIs 64 bit x86-64 and 32 bit x32 + ifeq ($(lastword $(subst -gnu, ,$(CompilerTargetTriple))),x32) + SupportedArches := x32 + ifeq ($(call TryCompile,$(CC),$(test_source),-m64),0) + SupportedArches += x86_64 + endif + else + SupportedArches := x86_64 + ifeq ($(call TryCompile,$(CC),$(test_source),-mx32),0) + SupportedArches += x32 + endif + endif ifeq ($(call TryCompile,$(CC),$(test_source),-m32),0) SupportedArches += i386 endif @...
2013 Aug 22
0
[LLVMdev] [RFC PATCH] X32 ABI support for Clang/compiler-rt (compiler-rt patch)
...SupportedArches += x86_64 > endif > else > - SupportedArches := x86_64 > + # x86-64 arch has two ABIs 64 bit x86-64 and 32 bit x32 > + ifeq ($(lastword $(subst -gnu, ,$(CompilerTargetTriple))),x32) > + SupportedArches := x32 > + ifeq ($(call TryCompile,$(CC),$(test_source),-m64),0) > + SupportedArches += x86_64 > + endif > + else > + SupportedArches := x86_64 > + ifeq ($(call TryCompile,$(CC),$(test_source),-mx32),0) > + SupportedArches += x32 > + endif > + endif > ifeq ($(call TryCompile,$(CC),$(test_source),-m3...
2013 Aug 22
0
[LLVMdev] [RFC PATCH] X32 ABI support for Clang/compiler-rt (Clang patch)
Clang patch for X32 support. Applies against current trunk. --- ./tools/clang/include/clang/Driver/Options.td.orig 2013-05-16 21:51:51.286129820 +0000 +++ ./tools/clang/include/clang/Driver/Options.td 2013-05-16 21:53:24.875004239 +0000 @@ -841,6 +841,7 @@ HelpText<"Enable hexagon-qdsp6 backward compatibility">; def m3dnowa : Flag<["-"], "m3dnowa">,
2013 Aug 22
7
[LLVMdev] [RFC PATCH] X32 ABI support for Clang/compiler-rt
Hi, I'm working on bringing up complete coverage for a Gentoo x32 "desktop" system. I've been cooking up quite a few patches for various packages to push upstream, but right now, the biggest blocker is the lack of support for building with/codegen targeting x32 in llvm/clang. Since the x32 patches were sent last year, I see support code has landed in LLVM, and basic handling of
2020 Mar 18
0
[PATCH i-g-t 4/4] tests: Add nouveau-crc tests
...rc = igt_pipe_crc_new(fd, data->pipe, "auto"); + + set_crc_flip_threshold(data, 5); + igt_pipe_crc_start(pipe_crc); + igt_pipe_crc_stop(pipe_crc); + + igt_assert_neq(igt_sysfs_get_u32(data->nv_crc_dir, "flip_threshold"), 5); + igt_pipe_crc_free(pipe_crc); +} + +static void test_source(data_t *data, const char *source) +{ + igt_pipe_crc_t *pipe_crc = igt_pipe_crc_new(data->drm_fd, data->pipe, source); + igt_crc_t *crcs; + + igt_pipe_crc_start(pipe_crc); + igt_pipe_crc_get_crcs(pipe_crc, 2, &crcs); + igt_pipe_crc_stop(pipe_crc); + + /* The CRC shouldn't change if the...
2020 Apr 17
0
[PATCH i-g-t v3 5/5] tests: Add nouveau-crc tests
...rc = igt_pipe_crc_new(fd, data->pipe, "auto"); + + set_crc_flip_threshold(data, 5); + igt_pipe_crc_start(pipe_crc); + igt_pipe_crc_stop(pipe_crc); + + igt_assert_neq(igt_sysfs_get_u32(data->nv_crc_dir, "flip_threshold"), 5); + igt_pipe_crc_free(pipe_crc); +} + +static void test_source(data_t *data, const char *source) +{ + igt_pipe_crc_t *pipe_crc = igt_pipe_crc_new(data->drm_fd, data->pipe, source); + igt_crc_t *crcs; + + igt_pipe_crc_start(pipe_crc); + igt_pipe_crc_get_crcs(pipe_crc, 2, &crcs); + igt_pipe_crc_stop(pipe_crc); + + /* The CRC shouldn't change if the...
2020 Aug 18
2
[PATCH i-g-t v4] tests: Add nouveau-crc tests
...rc = igt_pipe_crc_new(fd, data->pipe, "auto"); + + set_crc_flip_threshold(data, 5); + igt_pipe_crc_start(pipe_crc); + igt_pipe_crc_stop(pipe_crc); + + igt_assert_neq(igt_sysfs_get_u32(data->nv_crc_dir, "flip_threshold"), 5); + igt_pipe_crc_free(pipe_crc); +} + +static void test_source(data_t *data, const char *source) +{ + igt_pipe_crc_t *pipe_crc = igt_pipe_crc_new(data->drm_fd, data->pipe, source); + igt_crc_t *crcs; + + igt_pipe_crc_start(pipe_crc); + igt_pipe_crc_get_crcs(pipe_crc, 2, &crcs); + igt_pipe_crc_stop(pipe_crc); + + /* The CRC shouldn't change if the...
2020 Sep 30
0
[PATCH i-g-t v5 5/5] tests: Add nouveau-crc tests
...ata, 5); + igt_pipe_crc_start(pipe_crc); + igt_assert_eq(igt_sysfs_get_u32(data->nv_crc_dir, "flip_threshold"), 5); + igt_pipe_crc_stop(pipe_crc); + + igt_assert_neq(igt_sysfs_get_u32(data->nv_crc_dir, "flip_threshold"), 5); + igt_pipe_crc_free(pipe_crc); +} + +static void test_source(data_t *data, const char *source) +{ + igt_pipe_crc_t *pipe_crc = igt_pipe_crc_new(data->drm_fd, data->pipe, source); + igt_crc_t *crcs; + + igt_pipe_crc_start(pipe_crc); + igt_pipe_crc_get_crcs(pipe_crc, 2, &crcs); + igt_pipe_crc_stop(pipe_crc); + + /* The CRC shouldn't change if the...
2020 Apr 17
10
[PATCH i-g-t v3 0/5] Add nouveau-crc tests
From: Lyude Paul <lyude at redhat.com> Nouveau has finally gotten CRC support, hooray! Well, it's under review at least: https://patchwork.freedesktop.org/series/74804/ (it has a cover letter, but nouveau's mailing list configuration has blocked the email so I'm waiting for a moderator to fix that) So, this series adds the relevant tests for it since nvidia's CRC
2020 Sep 29
1
[igt-dev] [PATCH i-g-t v4] tests: Add nouveau-crc tests
...you do > see 5. > > > + igt_pipe_crc_free(pipe_crc); > > +} > > + > > Same note about a docblock ?: > > /* > * Assert that, for a given source, two consecutive CRCs are equal if > * the content hasn't changed. > */ > > > +static void test_source(data_t *data, const char *source) > > +{ > > + igt_pipe_crc_t *pipe_crc = igt_pipe_crc_new(data->drm_fd, data->pipe, > > source); > > + igt_crc_t *crcs; > > + > > + igt_pipe_crc_start(pipe_crc); > > + igt_pipe_crc_get_crcs(pipe_crc, 2, &crcs); &gt...
2020 Sep 28
0
[igt-dev] [PATCH i-g-t v4] tests: Add nouveau-crc tests
...worth reading the value back after setting the threshold to make sure you do see 5. > + igt_pipe_crc_free(pipe_crc); > +} > + Same note about a docblock ?: /* * Assert that, for a given source, two consecutive CRCs are equal if * the content hasn't changed. */ > +static void test_source(data_t *data, const char *source) > +{ > + igt_pipe_crc_t *pipe_crc = igt_pipe_crc_new(data->drm_fd, data->pipe, source); > + igt_crc_t *crcs; > + > + igt_pipe_crc_start(pipe_crc); > + igt_pipe_crc_get_crcs(pipe_crc, 2, &crcs); > + igt_pipe_crc_stop(pipe_crc); > +...
2020 Apr 17
5
[PATCH i-g-t v2 0/5] Add nouveau-crc tests
From: Lyude Paul <lyude at redhat.com> (Just forwarding this to nouveau's ml, since I completely forgot to before) Nouveau has finally gotten CRC support, hooray! Well, it's under review at least: https://patchwork.freedesktop.org/series/74804/ (it has a cover letter, but nouveau's mailing list configuration has blocked the email so I'm waiting for a moderator to fix that)
2020 Mar 18
6
[PATCH i-g-t 0/4] Add nouveau-crc tests
From: Lyude Paul <lyude at redhat.com> Nouveau has finally gotten CRC support, hooray! Well, it's under review at least: https://patchwork.freedesktop.org/series/74804/ (it has a cover letter, but nouveau's mailing list configuration has blocked the email so I'm waiting for a moderator to fix that) So, this series adds the relevant tests for it since nvidia's CRC
2013 Feb 07
0
FW: Sourcing my file does not print command outputs
...ng' Subject: RE: [R] Sourcing my file does not print command outputs James, Your code seems to have ‘…’ sitting on a line all by itself (maybe should be at the end of the preceding comment? Anyway, when I eliminated that problem and sourced the script using the following call source(‘c:/tmp/test_source.R’, print.eval=TRUE) The summary information and dotplot printed just fine. Dan Daniel J. Nordlund Washington State Department of Social and Health Services Planning, Performance, and Accountability Research and Data Analysis Division Olympia, WA 98504-5204 From: James Jong [mailto:ribonucleico...
2020 Sep 30
9
[PATCH i-g-t v5 0/5] Add nouveau-crc tests
From: Lyude Paul <lyude at redhat.com> Nouveau has finally gotten CRC support, and at this point that support has made its way upstream. Hooray! So, let's start adding some relevant tests for it since nvidia's CRC implementation has some rather interesting design choices that needed to be worked around. Lyude Paul (5): lib/igt_core: Fix igt_assert_fd() documentation
2008 Jan 08
0
4 commits - configure.ac test/compiler.c test/.gitignore test/Makefile.am test/swfdec_test.c test/swfdec_test_function.c test/swfdec_test_function.h test/swfdec_test_global.c test/swfdec_test_initialize.as test/swfdec_test_initialize.h
...11:25:04 2008 +0100 put headers in noinst_HEADERS otherwise changes to the headers doesn't cause a rebuild diff --git a/test/Makefile.am b/test/Makefile.am index 906a124..af22776 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -5,10 +5,8 @@ noinst_PROGRAMS = test swfdec_test_sources = \ swfdec_test.c \ swfdec_test_function.c \ - swfdec_test_function.h \ swfdec_test_global.c \ - swfdec_test_test.c \ - swfdec_test_test.h + swfdec_test_test.c BUILT_SOURCES = \ swfdec_test_function_list.h @@ -20,6 +18,15 @@ test_SOURCES = \ $(swfdec_test_sources) \ $(BUILT_SOURCES)...
2013 Feb 07
4
Sourcing my file does not print command outputs
I looked at the documentation of source() and summary(), and I could not find the reason why calling something like: > summary(resamps) from the command line, works (it prints the summary) whereas calling summary(resampls) from a file that I source with source("my_file.r") does not print anything. How can I get summary(resamps) to print when I source a file with this command?
2008 Jan 07
0
12 commits - configure.ac doc/swfdec.types Makefile.am test/crashfinder.c test/dump.c test/Makefile.am test/swfdec-extract.c test/swfdec_out.c test/swfdec_out.h test/swfedit.c test/swfedit_file.c test/swfedit_file.h test/swfedit_list.c test/swfedit_list.h
...663a237078d Author: Benjamin Otte <otte at gnome.org> Date: Mon Jan 7 17:43:09 2008 +0100 add a global print function diff --git a/test/test/Makefile.am b/test/test/Makefile.am index 6bc3dac..b610daa 100644 --- a/test/test/Makefile.am +++ b/test/test/Makefile.am @@ -5,6 +5,7 @@ swfdec_test_sources = \ swfdec_test.c \ swfdec_test_function.c \ swfdec_test_function.h \ + swfdec_test_global.c \ swfdec_test_test.c \ swfdec_test_test.h diff --git a/test/test/swfdec_test_function_list.h b/test/test/swfdec_test_function_list.h index 46908ab..9ddf1c1 100644 --- a/test/test/swfdec_test_fu...