summaryrefslogtreecommitdiffstats
path: root/windows/tools/h5mkgrp
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2012-10-23 18:27:33 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2012-10-23 18:27:33 (GMT)
commit88885a82aed548e2847f8e98a55eeeb53779328d (patch)
tree4f8a86821ec328ef9d9ea7146cf28d2c63a411e9 /windows/tools/h5mkgrp
parente96bb5fed1ce5da8df8e63561aeec7497a68cb4b (diff)
downloadhdf5-88885a82aed548e2847f8e98a55eeeb53779328d.zip
hdf5-88885a82aed548e2847f8e98a55eeeb53779328d.tar.gz
hdf5-88885a82aed548e2847f8e98a55eeeb53779328d.tar.bz2
[svn-r22953] Purpose:
Removed legacy Visual Studio solutions and projects, which will no longer be supported after HDF5 1.8.10.
Diffstat (limited to 'windows/tools/h5mkgrp')
-rw-r--r--windows/tools/h5mkgrp/h5mkgrp.vcproj394
-rw-r--r--windows/tools/h5mkgrp/testh5mkgrp.bat254
2 files changed, 0 insertions, 648 deletions
diff --git a/windows/tools/h5mkgrp/h5mkgrp.vcproj b/windows/tools/h5mkgrp/h5mkgrp.vcproj
deleted file mode 100644
index e6f8259..0000000
--- a/windows/tools/h5mkgrp/h5mkgrp.vcproj
+++ /dev/null
@@ -1,394 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="9.00"
- Name="h5mkgrp"
- ProjectGUID="{ABBF8F3E-F1B5-45FA-8FD0-50B167511EDF}"
- RootNamespace="h5mkgrp"
- TargetFrameworkVersion="131072"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- <Platform
- Name="x64"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Release|Win32"
- OutputDirectory="..\..\..\tools\$(ProjectName)\$(ConfigurationName)"
- IntermediateDirectory="$(OutDir)"
- ConfigurationType="1"
- InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops;..\..\proj\property_sheets\remove-posix-warnings.vsprops"
- UseOfMFC="0"
- ATLMinimizesCRunTimeLibraryUsage="false"
- CharacterSet="2"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- TypeLibraryName=".\../../../tools/h5mkgrp/Release/h5mkgrp.tlb"
- HeaderFileName=""
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="2"
- InlineFunctionExpansion="1"
- AdditionalIncludeDirectories="..\..\..\src,..\..\..\tools\lib"
- PreprocessorDefinitions="BIND_TO_CURRENT_VCLIBS_VERSION=1;WIN32;NDEBUG;_CONSOLE"
- StringPooling="true"
- RuntimeLibrary="0"
- EnableFunctionLevelLinking="true"
- UsePrecompiledHeader="0"
- PrecompiledHeaderFile=".\../../../tools/h5mkgrp/Release/h5mkgrp.pch"
- AssemblerListingLocation=".\../../../tools/h5mkgrp/Release/"
- ObjectFile=".\../../../tools/h5mkgrp/Release/"
- ProgramDataBaseFileName=".\../../../tools/h5mkgrp/Release/"
- WarningLevel="3"
- SuppressStartupBanner="true"
- CompileAs="0"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- PreprocessorDefinitions="BIND_TO_CURRENT_VCLIBS_VERSION=1;NDEBUG"
- Culture="1033"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="odbc32.lib odbccp32.lib $(HDF5_EXT_ZLIB) $(HDF5_EXT_SZIP)"
- OutputFile="$(OutDir)\$(ProjectName).exe"
- LinkIncremental="0"
- SuppressStartupBanner="true"
- ProgramDatabaseFile=".\../../../tools/h5mkgrp/Release/h5mkgrp.pdb"
- SubSystem="1"
- RandomizedBaseAddress="1"
- DataExecutionPrevention="0"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Release|x64"
- OutputDirectory="..\..\..\tools\$(ProjectName)\$(ConfigurationName)"
- IntermediateDirectory="$(OutDir)"
- ConfigurationType="1"
- InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops;..\..\proj\property_sheets\remove-posix-warnings.vsprops"
- UseOfMFC="0"
- ATLMinimizesCRunTimeLibraryUsage="false"
- CharacterSet="2"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- TargetEnvironment="3"
- TypeLibraryName=".\../../../tools/h5mkgrp/Release/h5mkgrp.tlb"
- HeaderFileName=""
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="2"
- InlineFunctionExpansion="1"
- AdditionalIncludeDirectories="..\..\..\src,..\..\..\tools\lib"
- PreprocessorDefinitions="BIND_TO_CURRENT_VCLIBS_VERSION=1;WIN32;NDEBUG;_CONSOLE"
- StringPooling="true"
- RuntimeLibrary="0"
- EnableFunctionLevelLinking="true"
- UsePrecompiledHeader="0"
- PrecompiledHeaderFile=".\../../../tools/h5mkgrp/Release/h5mkgrp.pch"
- AssemblerListingLocation=".\../../../tools/h5mkgrp/Release/"
- ObjectFile=".\../../../tools/h5mkgrp/Release/"
- ProgramDataBaseFileName=".\../../../tools/h5mkgrp/Release/"
- WarningLevel="3"
- SuppressStartupBanner="true"
- CompileAs="0"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- PreprocessorDefinitions="BIND_TO_CURRENT_VCLIBS_VERSION=1;NDEBUG"
- Culture="1033"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="odbc32.lib odbccp32.lib $(HDF5_EXT_ZLIB) $(HDF5_EXT_SZIP)"
- OutputFile="$(OutDir)\$(ProjectName).exe"
- LinkIncremental="0"
- SuppressStartupBanner="true"
- ProgramDatabaseFile=".\../../../tools/h5mkgrp/Release/h5mkgrp.pdb"
- SubSystem="1"
- RandomizedBaseAddress="1"
- DataExecutionPrevention="0"
- TargetMachine="17"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="..\..\..\tools\$(ProjectName)\$(ConfigurationName)"
- IntermediateDirectory="$(OutDir)"
- ConfigurationType="1"
- InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops;..\..\proj\property_sheets\remove-posix-warnings.vsprops"
- UseOfMFC="0"
- ATLMinimizesCRunTimeLibraryUsage="false"
- CharacterSet="2"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- TypeLibraryName=".\../../../tools/h5mkgrp/Debug/h5mkgrp.tlb"
- HeaderFileName=""
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- AdditionalIncludeDirectories="..\..\..\src,..\..\..\tools\lib"
- PreprocessorDefinitions="BIND_TO_CURRENT_VCLIBS_VERSION=1;WIN32;_DEBUG;_CONSOLE"
- BasicRuntimeChecks="3"
- RuntimeLibrary="1"
- UsePrecompiledHeader="0"
- PrecompiledHeaderFile=".\../../../tools/h5mkgrp/Debug/h5mkgrp.pch"
- AssemblerListingLocation=".\../../../tools/h5mkgrp/Debug/"
- ObjectFile=".\../../../tools/h5mkgrp/Debug/"
- ProgramDataBaseFileName=".\../../../tools/h5mkgrp/Debug/"
- WarningLevel="3"
- SuppressStartupBanner="true"
- DebugInformationFormat="3"
- CompileAs="0"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- PreprocessorDefinitions="BIND_TO_CURRENT_VCLIBS_VERSION=1;_DEBUG"
- Culture="1033"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="odbc32.lib odbccp32.lib $(HDF5_EXT_ZLIB) $(HDF5_EXT_SZIP)"
- OutputFile="$(OutDir)\$(ProjectName).exe"
- LinkIncremental="0"
- SuppressStartupBanner="true"
- GenerateDebugInformation="true"
- ProgramDatabaseFile=".\../../../tools/h5mkgrp/Debug/h5mkgrp.pdb"
- SubSystem="1"
- RandomizedBaseAddress="1"
- DataExecutionPrevention="0"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Debug|x64"
- OutputDirectory="..\..\..\tools\$(ProjectName)\$(ConfigurationName)"
- IntermediateDirectory="$(OutDir)"
- ConfigurationType="1"
- InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops;..\..\proj\property_sheets\remove-posix-warnings.vsprops"
- UseOfMFC="0"
- ATLMinimizesCRunTimeLibraryUsage="false"
- CharacterSet="2"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- TargetEnvironment="3"
- TypeLibraryName=".\../../../tools/h5mkgrp/Debug/h5mkgrp.tlb"
- HeaderFileName=""
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- AdditionalIncludeDirectories="..\..\..\src,..\..\..\tools\lib"
- PreprocessorDefinitions="BIND_TO_CURRENT_VCLIBS_VERSION=1;WIN32;_DEBUG;_CONSOLE"
- BasicRuntimeChecks="3"
- RuntimeLibrary="1"
- UsePrecompiledHeader="0"
- PrecompiledHeaderFile=".\../../../tools/h5mkgrp/Debug/h5mkgrp.pch"
- AssemblerListingLocation=".\../../../tools/h5mkgrp/Debug/"
- ObjectFile=".\../../../tools/h5mkgrp/Debug/"
- ProgramDataBaseFileName=".\../../../tools/h5mkgrp/Debug/"
- WarningLevel="3"
- SuppressStartupBanner="true"
- DebugInformationFormat="3"
- CompileAs="0"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- PreprocessorDefinitions="BIND_TO_CURRENT_VCLIBS_VERSION=1;_DEBUG"
- Culture="1033"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="odbc32.lib odbccp32.lib $(HDF5_EXT_ZLIB) $(HDF5_EXT_SZIP)"
- OutputFile="$(OutDir)\$(ProjectName).exe"
- LinkIncremental="0"
- SuppressStartupBanner="true"
- GenerateDebugInformation="true"
- ProgramDatabaseFile=".\../../../tools/h5mkgrp/Debug/h5mkgrp.pdb"
- SubSystem="1"
- RandomizedBaseAddress="1"
- DataExecutionPrevention="0"
- TargetMachine="17"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <File
- RelativePath="..\..\..\tools\misc\h5mkgrp.c"
- >
- </File>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
diff --git a/windows/tools/h5mkgrp/testh5mkgrp.bat b/windows/tools/h5mkgrp/testh5mkgrp.bat
deleted file mode 100644
index 15de2cd..0000000
--- a/windows/tools/h5mkgrp/testh5mkgrp.bat
+++ /dev/null
@@ -1,254 +0,0 @@
-@echo off
-rem
-rem Copyright by The HDF Group.
-rem Copyright by the Board of Trustees of the University of Illinois.
-rem All rights reserved.
-rem
-rem This file is part of HDF5. The full HDF5 copyright notice, including
-rem terms governing use, modification, and redistribution, is contained in
-rem the files COPYING and Copyright.html. COPYING can be found at the root
-rem of the source code distribution tree; Copyright.html can be found at the
-rem root level of an installed copy of the electronic HDF5 document set and
-rem is linked from the top-level documents page. It can also be found at
-rem http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
-rem access to either file, you may request a copy from help@hdfgroup.org.
-rem
-rem Tests for the h5mkgrp tool
-rem
-rem Created: Scott Wegner, 8/29/07
-rem Modified:
-rem
-
-rem We currently only build static version of h5mkgrp, but this batch file is
-rem setup for dll versions, in case we decide to build them in the future.
-rem --SJW 8/29/07
-
-setlocal enabledelayedexpansion
-pushd %~dp0
-
-rem The tool name
-set h5mkgrp=h5mkgrp%2
-rem The path of the tool binary
-set h5mkgrp_bin=%CD%\..\%h5mkgrp%\%1\%h5mkgrp%
-rem The h5ls tool name
-set h5ls=h5ls%2
-rem Arguments to the h5ls tool
-set h5ls_args=-vr
-rem The path of the h5ls tool binary
-set h5ls_bin=%CD%\..\%h5ls%\%1\%h5ls%
-
-set nerrors=0
-set verbose=yes
-
-set indir=%CD%\..\testfiles
-set outdir=%CD%\..\testfiles
-
-if not exist %outdir% mkdir %outdir%
-
-goto main
-
-rem Print a line-line message left justified in a field of 70 characters
-rem beginning with the word "Testing".
-rem
-:testing
- set test_msg=Testing
- for %%a in (%*) do (
- if %%a neq PASSED (
- if %%a neq *FAILED* (
- set test_msg=!test_msg! %%~nxa
- ) )
- )
- rem We need to replace PERCENT-ZERO here with "%0" for the tfamily test.
- rem --SJW 8/24/07
- set test_msg=!test_msg:PERCENT-ZERO=%%0!
- echo.%test_msg:~0,69% %1
-
- exit /b
-
-
-rem Print a line-line message left justified in a field of 70 characters
-rem beginning with the word "Verifying".
-rem
-:verify_h5ls
- set test_msg=Verifying h5ls file structure
- for %%a in (%*) do (
- if %%a neq PASSED (
- if %%a neq *FAILED* (
- set test_msg=!test_msg! %%~nxa
- ) )
- )
- rem We need to replace PERCENT-ZERO here with "%0" for the tfamily test.
- rem --SJW 8/24/07
- set test_msg=!test_msg:PERCENT-ZERO=%%0!
- echo.%test_msg:~0,69% %1
-
- exit /b
-
-
-rem Run a test and print PASS or *FAIL*. If h5mkgrp can complete
-rem with exit status 0, consider it pass. If a test fails then increment
-rem the `nerrors' global variable.
-rem Assumed arguments:
-rem %* arguments for h5mkgrp.
-:tooltest
- (
- echo.#############################
- echo. output for 'h5mkgrp %*'
- echo.#############################
- %h5mkgrp_bin% %*
- ) > output.out
-
- if %errorlevel% neq 0 (
- call :testing *FAILED* %*
- echo.failed result is:
- type output.out
- set nerrors=!nerrors!+1
- ) else (
- call :testing PASSED %*
- )
-
- rem Clean up output file
- if not defined hdf5_nocleanup (
- del /f output.out
- )
-
- exit /b
-
-
-rem Call the h5ls tool to verify the correct output data in the destination file
-rem
-:h5lstest
- set expect=%indir%\%~n1.ls
- set expect_parsed=%expect%.parsed
- set actual=%outdir%\%~n1.out
- set actual_parsed=%actual%.parsed
-
- rem Stderr is included in stdout so that the diff can detect
- rem any unexpected output from that stream too
- (
- echo.#############################
- echo.Expected output from h5ls %*
- echo.#############################
- %h5ls_bin% %h5ls_args% %*
- ) >%actual% 2>&1
- rem Windows doesn't have "sed" command, and parsing the files line-by-line
- rem to emulate Unix takes a very long time. Instead, we simply remove lines
- rem with "Modified". Do this for actual and expected otput. If there is a
- rem better alternative in the future, we should use it instead. --SJW 8/29/07
- for %%a in (expect actual) do (
- findstr /v /c:" Modified:" !%%a! > tmp.txt
- move /y tmp.txt !%%a_parsed! > nul
- )
-
- rem Don't special case non-existing expected output as Linux does, because
- rem we depend on it above to parse anyway. It should be an error if it
- rem doesn't exist. --SJW 8/29/07
- rem if not exist %expect% (
- rem call :verify_h5ls CREATED %*
- rem copy %actual% %expect%
- rem )
-
- fc /w %expect_parsed% %expect_parsed% > nul
- if %errorlevel% equ 0 (
- call :verify_h5ls PASSED %*
- ) else (
- call :verify_h5ls *FAILED* %*
- echo. Expected result ^(*.ls^) differs from actual result ^(*.out^)
- set /a nerrors=!nerrors!+1
- if "%verbose%"=="yes" fc %epect% %actual%
- )
-
- rem Clean up output file
- if not defined hdf5_nocleanup (
- del /f %actual% %actual_parsed% %expect_parsed%
- )
-
- exit /b
-
-
-rem Single run of tool
-rem
-rem Assumed arguments:
-rem %1 is test file name
-rem %2 is h5mkgrp options
-rem %* are groups to create
-:runtest
-
- set fileout=%outdir%\%1
- shift
- set h5mkgrp_args=%1
- rem Filter out quotes
- set h5mkgrp_args=%h5mkgrp_args:"=%
- shift
-
- rem Remove any output file left over from previous test run
- del /f %fileout% 2> nul
-
- rem On Windows, the shift command doesn't actually affect %*, so we must
- rem manipulate a params variable. We need to be careful of how we iterate
- rem through them, because the " " parameter is tricky on Windows.
- rem --SJW 8/29/07
- set params=
- if not "%1"=="" (
- set p_num=1
- for %%a in (%*) do (
- if !p_num! geq 3 (
- set params=!params! %%a
- )
- set /a p_num=!p_num!+1
- )
- rem Remove leading space
- set params=!params:* =!
- )
-
- rem Run test
- call :tooltest %h5mkgrp_args% %fileout% %params%
-
- rem Verify that the file created above is correct
- call :h5lstest %fileout%
-
- rem Remove output file created, if the "no cleanup" environment variable is
- rem not defined.
- rem Why do we echo FILEOUT on Linux? --SJW 8/29/07
- rem echo.FILEOUT= %fileout%
- if not defined hdf5_nocleanup (
- del /f %fileout% 2> nul
- )
-
- exit /b
-
-
-rem ############################################################################
-rem # T H E T E S T S ###
-rem ############################################################################
-:main
- rem Check that help & version is displayed properly
- call :runtest h5mkgrp_help.h5 "-h"
- call :runtest h5mkgrp_version.h5 "-V"
-
- rem Create single group at root level
- call :runtest h5mkgrp_single.h5 " " single
- call :runtest h5mkgrp_single.h5 "-v" single
- call :runtest h5mkgrp_single.h5 "-p" single
- call :runtest h5mkgrp_single_latest.h5 "-l" latest
-
- rem Create several groups at root level
- call :runtest h5mkgrp_several.h5 " " one two
- call :runtest h5mkgrp_several.h5 "-v" one two
- call :runtest h5mkgrp_several.h5 "-p" one two
- call :runtest h5mkgrp_several_latest.h5 "-l" one two
-
- rem Create various nested groups
- call :runtest h5mkgrp_nested.h5 "-p" /one/two
- call :runtest h5mkgrp_nested_latest.h5 "-lp" /one/two
- call :runtest h5mkgrp_nested_mult.h5 "-p" /one/two /three/four
- call :runtest h5mkgrp_nested_mult_latest.h5 "-lp" /one/two /three/four
-
-
- if %nerrors% equ 0 (
- echo.All h5mkgrp tests passed.
- )
-
- popd
- endlocal & exit /b %nerrors%
-