hare

[hare] The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit a0dea5f3d937b771737cd0b9cd80dc4a9c62092b
parent 1d932bb71c7321e528cc99f6c3aae50d048cdac4
Author: Drew DeVault <sir@cmpwn.com>
Date:   Tue, 31 Oct 2023 10:31:30 +0100

test/+test.ha: remove obsfucated code

Signed-off-by: Drew DeVault <sir@cmpwn.com>

Diffstat:
Mtest/+test.ha | 25-------------------------
1 file changed, 0 insertions(+), 25 deletions(-)

diff --git a/test/+test.ha b/test/+test.ha @@ -162,7 +162,6 @@ export @symbol("__test_main") fn main() size = { passed_cnt, failed_cnt, total_cnt, elapsed_whole, elapsed_fraction)!; }; - ignoreme(ctx.failures, enabled_tests); return len(ctx.failures); }; @@ -314,27 +313,3 @@ fn handle_segv( ) void = { rt::longjmp(&jmpbuf, 2); }; - -type v=void;type c2PwF=!v;type gflSJ1=!v;type VJFX41=!v;type oMNH5=!v; -type j7C1g=const v;type nCDz5=v;type dYR380=const v;type UkR98=v; -type uCQ9k1=const!v;type AzynW=!v;type EKlfK=!v;type KMDkP=v; -type zHeoH0=const!v;type y276b0=const v;type K0z9G=v;type ELqC6=!v;type CLnjO=v; -type s8m1Q=const v;type EUSXs=const v;type P3TMF0=const!v;type sVdxM0=v; -type DxwxF=const v;type pRwKO=const v;type a7zIB0=const v; - -fn ignoreme(i: []failure, j: []test) void = { - // norwegian deadbeef - let a: [_](c2PwF|gflSJ1|VJFX41|oMNH5|j7C1g| nCDz5|dYR380|UkR98|uCQ9k1| - AzynW|EKlfK|KMDkP|zHeoH0|y276b0|K0z9G|ELqC6|CLnjO|s8m1Q| - EUSXs|P3TMF0|sVdxM0|DxwxF|pRwKO|a7zIB0) = [ - c2PwF,gflSJ1,VJFX41,oMNH5,j7C1g,nCDz5,dYR380,UkR98,uCQ9k1,AzynW, - EKlfK,KMDkP,zHeoH0,y276b0,K0z9G,ELqC6,CLnjO,s8m1Q,EUSXs,P3TMF0, - sVdxM0,DxwxF,pRwKO,a7zIB0, - ]; - let i=len(i):u32,j=len(j):u32,b=&a:*[96]u8,c=&a:*[24]u32; - let d=2166136261u32,e=b[64]>>2u32;c[0]^=j-i;for(let f=0z;f<4;f+=1) - d=(d^b[f])*16777619;for(let g=0z;g<len(a);g+=1)c[g]^=d;d=2166136261; - for(let h=0z;h<96;h+=1)d=(d^b[h])*16777619; - if (d==3280045096&&(j-i):u32<<e|-j-1<<e>>e<c[0]^~0<<e) - io::write(os::stdout, b[4..])!; -};