Skip to content

Instantly share code, notes, and snippets.

View mossheim's full-sized avatar
🦎

moss heim mossheim

🦎
  • Berlin, Germany
View GitHub Profile

Comprehensive Guide to SuperCollider Unit Testing

Author: Brian Heim

Created: 2018-01-27

Content overview:

  • Purpose
  • What is testing?
#!/bin/bash
# Checks whether PRs with a chosen milestone have been merged into a chosen release branch
# Used to detect patch fixes that might not have been cherry-picked onto the release branch
#
# Original author: Brian Heim
# 2018-02-03
if [[ -z "$1" || -z "$2" ]]; then
echo "Usage: cmd <milestone> <release-branch>"
echo "\tExample: cmd 3.9.1 3.9"
dyld: loaded: /Users/brianheim/git/supercollider/build_qt510/Install/SuperCollider/SuperCollider.app/Contents/MacOS/sclang
dyld: loaded: /usr/lib/libSystem.B.dylib
dyld: loaded: /Users/brianheim/git/supercollider/build_qt510/Install/SuperCollider/SuperCollider.app/Contents/MacOS/../Frameworks/QtWebEngineWidgets.framework/Versions/5/QtWebEngineWidgets
dyld: loaded: /Users/brianheim/git/supercollider/build_qt510/Install/SuperCollider/SuperCollider.app/Contents/MacOS/../Frameworks/QtWebEngineCore.framework/Versions/5/QtWebEngineCore
dyld: loaded: /Users/brianheim/git/supercollider/build_qt510/Install/SuperCollider/SuperCollider.app/Contents/MacOS/../Frameworks/QtWebChannel.framework/Versions/5/QtWebChannel
dyld: loaded: /Users/brianheim/git/supercollider/build_qt510/Install/SuperCollider/SuperCollider.app/Contents/MacOS/../Frameworks/QtPrintSupport.framework/Versions/5/QtPrintSupport
dyld: loaded: /Users/brianheim/git/supercollider/build_qt510/Install/SuperCollider/SuperCollider.app/Contents/MacOS/../Frameworks/
VER=3.10
if [[ -z "$1" ]]; then
echo "Please supply a PR number"
fi
git fetch upstream pull/$1/head:$1 || exit 1
git rebase --onto $VER develop $1 || exit 1
git push -u origin $1 || exit 1
# create pull request description file
:: Brian Heim, 2018-01-08
:: Script for building libsndfile on Windows using VS 2017 with FLAC/Ogg/Vorbis support
:: See the readmes of the respective projects for other relevant instructions
:: the SDK version is necessary (for me anyway) to get the right version of the SDK.
:: otherwise it defaults to 8.1, which isn’t on my machine
set SDK_VERSION=10.0.16299.0
:: You may not need this if you've got them in your path already, or maybe the paths are different.
set DEVENV_EXE="C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\devenv"
set MSBUILD_EXE="C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\MSBuild"
#!/bin/sh
# Converts a changelog in md format to schelp format
# Usage: changelog_to_schelp.sh <input> <output> <version>
# Where <input> is in md format and <output> is in schelp
# If <version> is not provided, it will find the first match of 3.# in the file and use that
# You still have to add a related:: tag.
#
# Brian Heim, 2017-12-26
if [[ -z "$1" || -z "$2" ]]; then
@mossheim
mossheim / 3.8.0
Last active November 5, 2017 18:38
SuperCollider-3.8.0-OSX.zip 18565
SuperCollider-3.8.0-Source-linux.tar.bz2 2377
SuperCollider-3.8.0-Source.tar.bz2 75
SuperCollider-3.8.0_Windows_32bits_MW_SuperNova_0947edd.exe 5328
SuperCollider-3.8.0_Windows_32bits_VS_Sonic_Pi_0947edd.exe 969
SuperCollider-3.8.0_Windows_64bit_VS_0947edd.exe 12987
@mossheim
mossheim / travis_matter.md
Last active August 18, 2017 16:00
notes on supercollider travis setup

notes on travis setup

brian heim

2017-08-18

FILES

@mossheim
mossheim / SC_filesystem_user_test_script.md
Last active July 27, 2017 16:35
Complete test script for filesystem PR

User Test Checklist

1 Check that correct files & directories are made at startup & shutdown

  1. Clear userAppSupport, systemAppSupport directories
  2. Start SuperCollider (IDE)
  3. Files & folders should be:
    • downloaded-quarks (empty)
  • Help (help files)
C:\Users\brianheim
C:\Users\brianheim\AppData\Roaming\SuperCollider
C:\Users\brianheim\AppData\Local\SuperCollider
C:\Users\brianheim\AppData\Local\SuperCollider\Extensions
C:\Users\brianheim\AppData\Local\SuperCollider\Extensions
C:\Users\brianheim\AppData\Local\SuperCollider
C:\Users\brianheim\git\supercollider\build\editors\sc-ide\Debug
C:\Users\brianheim\Documents
scqt
C:\Users\brianheim