search for: test_on

Displaying 17 results from an estimated 17 matches for "test_on".

Did you mean: testson
2006 May 04
6
second assert_tag failling in rails integration test
...< ApplicationController def one render_text(''one'') end def two render_text(''two'') end end 3) create an integration test: require "#{File.dirname(__FILE__)}/../test_helper" class MyTest < ActionController::IntegrationTest def test_one post(''/test/one'') assert_tag(:content => /one/) post(''/test/two'') assert_match(/two/, @response.body) assert_tag(:content => /two/) end end 4) ran the integration test. So, I expected the assertions to all pass, but instead I got...
2014 Sep 26
4
Patch to add buffering to decoding too
...e) { if(!FLAC__stream_decoder_process_until_end_of_metadata(d->decoder)) { flac__utils_printf(stderr, 2, "\n"); @@ -366,6 +366,28 @@ FLAC__bool DecoderSession_process(DecoderSession *d) /* write the WAVE/AIFF headers if necessary */ if(!d->analysis_mode && !d->test_only && d->format != FORMAT_RAW) { +#ifdef _WIN32 + if(strcmp(outfilename, "-") && d->total_samples > 0) { + HANDLE fh = CreateFile_utf8(outfilename, GENERIC_READ|GENERIC_WRITE, FILE_SHARE_READ|FILE_SHARE_WRITE, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL); +...
2014 Sep 27
0
Patch to add buffering to decoding too
...etEndOfFile(fh); + } + CloseHandle(fh); + } + } + } +#endif fclose(d->fout); if(error_occurred) flac_unlink(d->outfilename); @@ -364,6 +381,32 @@ FLAC__bool DecoderSession_process(DecoderSession *d) } } +#ifdef _WIN32 + if(!d->analysis_mode && !d->test_only && d->total_samples > 0 && d->fout != stdout) { + HANDLE fh = CreateFile_utf8(d->outfilename, GENERIC_READ|GENERIC_WRITE, FILE_SHARE_READ|FILE_SHARE_WRITE, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL); + if(fh != INVALID_HANDLE_VALUE) { + if (GetFileType(fh) =...
2019 Apr 04
3
[PATCH] drm/cirrus: rewrite and modernize driver.
...e way to support 32bpp. If the driver reports XR24 as > supported and also adds the higher resolutions (which work with RG16 > only) to the mode list userspace will of course try the higher > resolutions with XR24 and struggle ... Maybe atomic userspace is better (it should be, it can do TEST_ONLY), but I'm not so sure that exposing all modes for atomic clients would work. Also, currently not possible with our probe helpers (we don't refilter the list per client). -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch
2019 Apr 04
3
[PATCH] drm/cirrus: rewrite and modernize driver.
...e way to support 32bpp. If the driver reports XR24 as > supported and also adds the higher resolutions (which work with RG16 > only) to the mode list userspace will of course try the higher > resolutions with XR24 and struggle ... Maybe atomic userspace is better (it should be, it can do TEST_ONLY), but I'm not so sure that exposing all modes for atomic clients would work. Also, currently not possible with our probe helpers (we don't refilter the list per client). -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch
2006 Sep 07
1
test_metaflac fails in make check for flac 1.1.2 after --add-padding is performed
...that would be another clue. Josh Seems like fwrite doesn't like to write to null. However, it seems clear from the code that using --test intentionally creates no outputfile for fwrite. src/flac/main.c: 1730 retval = flac__decode_wav(infilename, option_values.test_only? 0 : outfilename, option_values.analyze, option_values.aopts, options); Details below: (gdb) run Starting program: /home/tom/sources/flac-1.1.2/src/flac/.libs/lt-flac --silent --test metaflac.flac Breakpoint 1, DecoderSession_process (d=0xbffff530) at decode.c:500 500...
2014 Sep 26
0
Patch to add buffering to decoding too
...e) { if(!FLAC__stream_decoder_process_until_end_of_metadata(d->decoder)) { flac__utils_printf(stderr, 2, "\n"); @@ -366,6 +367,29 @@ FLAC__bool DecoderSession_process(DecoderSession *d) /* write the WAVE/AIFF headers if necessary */ if(!d->analysis_mode && !d->test_only && d->format != FORMAT_RAW) { +#ifdef _WIN32 + if(strcmp(outfilename, "-") && d->total_samples > 0) { + HANDLE fh = CreateFile_utf8(outfilename, GENERIC_READ|GENERIC_WRITE, FILE_SHARE_READ|FILE_SHARE_WRITE, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL); +...
2019 Apr 04
1
[PATCH] drm/cirrus: rewrite and modernize driver.
On Wed, Apr 3, 2019 at 5:23 PM Gerd Hoffmann <kraxel at redhat.com> wrote: > > Time to kill some bad sample code people are copying from ;) > > This is a complete rewrite of the cirrus driver. The cirrus_mode_set() > function is pretty much the only function which is carried over largely > unmodified. Everything else is upside down. > > It is a single monster patch.
2014 Sep 26
3
Patch to add buffering to decoding too
Can you please wrap the setvbuf in _WIN32 IFDEFs too? Currently memory usage of FLAC decoding is about 1MB, so this patch is increasing memory usage tenfold, also for platforms that do not need this. It is a non-problem on my system anyway. Op 26-09-14 om 10:36 schreef Janne Hyv?rinen: > I made some changes to the previous patch. I don't know why I > originally didn't put the
2014 Sep 25
2
Patch to add buffering to decoding too
Decoding flac files is also prone to producing fragmented files. NTFS has the ability to completely avoid fragmentation if it is told the file size before hand, but that would require using special Windows-only functions. Increasing the write buffer from the default 512 bytes to 10 MB already reduces the problem tremendously. -------------- next part -------------- diff --git
2006 Aug 28
2
test_metaflac fails in make check for flac 1.1.2 after --add-padding is performed
doing "make check" on flac-1.1.2, I get a segmentation fault ././test_metaflac.sh: line 51: 17370 Segmentation fault flac $* when running this portion of the test/test_metaflac.sh script: (set -x && run_metaflac --preserve-modtime --add-padding=12345 $flacfile) check_exit check_flac <---------------- where the segfault happens All other tests in
2007 Jan 08
6
[PATCH 0/5] Debian patches for 1.1.3
Hi Josh, Here are all the patches that are currently applied to the Debian packages for flac. You may disagree with some of them but as the current maintainer, I'm submitting them all for your consideration. (I should've submitted them earlier, but I've been quite busy. Sorry!) Here is a listing of the patches that I'll be sending: Patch 1 fixes a simple typo in metaflac
2018 Aug 20
6
[PATCH 0/4] mltools: JSON unification
An evolution of: https://www.redhat.com/archives/libguestfs/2018-August/msg00155.html
2017 Jun 09
1
[ANNOUNCE] intel-gpu-tools 1.19
...ector properties now. kms_cursor_legacy: Add a burner thread to make basic-busy-* pass. Marta Lofstedt (1): igt/meta_test: Fix dmesg-warn test Marta Löfstedt (1): tests/meta_test: Add a meta test for sanity checks of CI systems Mika Kahola (2): tests/kms_atomic: test that TEST_ONLY does not clobber state tests/kms_concurrent: Concurrent and interruptible subtests for atomic Mika Kuoppala (1): tests/gem_spin_batch: Add multiengine test Oscar Mateo (1): tests/pm_sseu: Re-enable the test Petri Latvala (18): Update MAINTAINERS file igt_command_l...
2017 Oct 04
0
[ANNOUNCE] intel-gpu-tools 1.20
...: Fix the cursor tests to work on CHV tests/kms_atomic_transitions: Use igt_display_require_output(). tests/debugfs_test: Allow opening CRC to fail with -EIO. tests/kms_atomic_transition: Add test for plane completion ordering. lib/kms: Handle fence interaction correctly WRT TEST_ONLY. tests/kms_atomic_transition: Only request fence on enabled pipes tests/kms_atomic_transition: Do not clear in-fences after atomic commit. igt/kms: Do not wait for fence completion during commit tests/debugfs_test: Fix testcases to pass igt: Add debugfs_test.read_all...
2015 Oct 29
16
[PATCH 00/16] Refactoring of configure.ac and guestfs.pod
Two (not related to each other) refactorings: Patches 1-12 split configure.ac into smaller files using the m4_include mechanism. Patches 13-15 split out parts of guestfs.pod (ie. guestfs(3)) into three new manual pages: guestfs-hacking(3) - how to extend and contribute to libguestfs guestfs-internals(3) - architecture and internals guestfs-security(3) - security and CVEs Patch 16 is a
2015 Jun 14
2
[PATCH] pod: Use F<> for filenames instead of C<>.
...ut the previous +in F<types.ml>. You should not assume anything about the previous contents of other disks that are not initialized. You can add a prerequisite clause to any individual test. This is a @@ -4048,7 +4048,7 @@ Packagers can run only certain tests by setting for example: TEST_ONLY="vfs_type zerofree" -See C<tests/c-api/tests.c> for more details of how these environment +See F<tests/c-api/tests.c> for more details of how these environment variables work. =head2 DEBUGGING NEW API ACTIONS @@ -4064,11 +4064,11 @@ stderr, and they will show up if you...