From dd5c2d8d4e482339fcf790f02e05f461d63e7e7c Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Mon, 28 Jan 2013 22:04:56 +1100 Subject: [PATCH] trim_stress: Also test any traces in the directory trim_stress/local This is useful for performing testing on traces that are too large to be considered for include in git, or for traces that cannot be shared due to proprietary contents. --- trim_stress/.gitignore | 1 + trim_stress/CMakeLists.txt | 2 ++ trim_stress/README.markdown | 6 ++++++ 3 files changed, 9 insertions(+) diff --git a/trim_stress/.gitignore b/trim_stress/.gitignore index 2c3a0d6..d2c3ca2 100644 --- a/trim_stress/.gitignore +++ b/trim_stress/.gitignore @@ -3,3 +3,4 @@ *-out *-index.html *.trace.trim +local/ diff --git a/trim_stress/CMakeLists.txt b/trim_stress/CMakeLists.txt index 652590d..6df43eb 100644 --- a/trim_stress/CMakeLists.txt +++ b/trim_stress/CMakeLists.txt @@ -1,5 +1,7 @@ file (GLOB traces RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.trace) +file (GLOB local_traces RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} local/*.trace) +list (APPEND traces ${local_traces}) list (SORT traces) foreach (trace ${traces}) diff --git a/trim_stress/README.markdown b/trim_stress/README.markdown index 5678ceb..ed872fc 100644 --- a/trim_stress/README.markdown +++ b/trim_stress/README.markdown @@ -24,3 +24,9 @@ Given .trace: 4. Move the frame snapshot from ./-tmp-out to ./-out + +Note that you can also put traces in the sub-directory local and they +will be tested as well. The difference is that those files will be +ignored by git. This can be useful for traces that are too large to be +considered for inclusion for git, or for traces that cannot be shared +due to proprietary contents. -- 2.43.0