/ Check-in [788f99f4]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Enable all steps and add/update comments.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | vsixTest
Files: files | file ages | folders
SHA1:788f99f47f40be42f30d3f324983f39e84d8cfbb
User & Date: mistachkin 2016-02-25 02:56:53
Context
2016-02-25
08:02
Improve readability and logging of the vsixtest script. check-in: 4fe7c4e9 user: mistachkin tags: vsixTest
02:56
Enable all steps and add/update comments. check-in: 788f99f4 user: mistachkin tags: vsixTest
02:49
More work. Install and build steps are now tested. check-in: 0ab74373 user: mistachkin tags: vsixTest
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to vsixtest/vsixtest.tcl.

1
2
3
4
5
6
7


8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
...
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
...
273
274
275
276
277
278
279
280
281
#!/usr/bin/tclsh
#
# This script is used to quickly test a VSIX (Visual Studio Extension) file
# with Visual Studio 2015 on Windows.
#
# PREREQUISITES
#


# 1. Tcl 8.4 and later are supported, earlier versions have not been tested.
#
# 2. The "sqlite-UWP-output.vsix" file is assumed to exist in the parent
#    directory of the directory containing this script.  The [optional] first
#    command line argument to this script may be used to specify an alternate
#    file.  However, currently, the file must be compatible with both Visual
#    Studio 2015 and the Universal Windows Platform.
#
# 3. The "VERSION" file is assumed to exist in the parent directory of the
#    directory containing this script.  It must contain a version number that
#    matches the VSIX file being tested.
#
# 4. The temporary directory specified in the TEMP or TMP environment variables
#    must refer to an existing directory writable by the current user.
#
# 5. The VS140COMNTOOLS environment variable must refer to the Visual Studio
#    2015 common tools directory.
#
# USAGE
#
# The first argument to this script is optional.  If specified, it must be the
# name of the VSIX file to test.
#
................................................................................
      "Uninstall log will be \"" [file nativename [file join \
      $temporaryDirectory $uninstallLogFileName]] "\"."]
}

###############################################################################

if {1} then {
  # putsAndEval $commands(1)

  set versionNumber [string trim [readFile $versionFileName]]
  set data [readFile $projectTemplateFileName]
  set data [string map [list %versionNumber% $versionNumber] $data]
  writeFile $projectFileName $data

  set platforms [list x86 x64 ARM]
................................................................................
    foreach configuration $configurations {
      putsAndEval [string map [list \
          %platform% $platform %configuration% \
          $configuration] $commands(2)]
    }
  }

  # putsAndEval $commands(3)
}







>
>
|

|





|



|


|







 







|







 







|

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
...
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
...
275
276
277
278
279
280
281
282
283
#!/usr/bin/tclsh
#
# This script is used to quickly test a VSIX (Visual Studio Extension) file
# with Visual Studio 2015 on Windows.
#
# PREREQUISITES
#
# 1. This tool must be executed with "elevated administrator" privileges.
#
# 2. Tcl 8.4 and later are supported, earlier versions have not been tested.
#
# 3. The "sqlite-UWP-output.vsix" file is assumed to exist in the parent
#    directory of the directory containing this script.  The [optional] first
#    command line argument to this script may be used to specify an alternate
#    file.  However, currently, the file must be compatible with both Visual
#    Studio 2015 and the Universal Windows Platform.
#
# 4. The "VERSION" file is assumed to exist in the parent directory of the
#    directory containing this script.  It must contain a version number that
#    matches the VSIX file being tested.
#
# 5. The temporary directory specified in the TEMP or TMP environment variables
#    must refer to an existing directory writable by the current user.
#
# 6. The VS140COMNTOOLS environment variable must refer to the Visual Studio
#    2015 common tools directory.
#
# USAGE
#
# The first argument to this script is optional.  If specified, it must be the
# name of the VSIX file to test.
#
................................................................................
      "Uninstall log will be \"" [file nativename [file join \
      $temporaryDirectory $uninstallLogFileName]] "\"."]
}

###############################################################################

if {1} then {
  putsAndEval $commands(1)

  set versionNumber [string trim [readFile $versionFileName]]
  set data [readFile $projectTemplateFileName]
  set data [string map [list %versionNumber% $versionNumber] $data]
  writeFile $projectFileName $data

  set platforms [list x86 x64 ARM]
................................................................................
    foreach configuration $configurations {
      putsAndEval [string map [list \
          %platform% $platform %configuration% \
          $configuration] $commands(2)]
    }
  }

  putsAndEval $commands(3)
}