summary refs log tree commit diff stats
path: root/tests/parallel
Commit message (Expand)AuthorAgeFilesLines
* Replacement PR for https://github.com/nim-lang/Nim/pull/23779 that (#23793)c-blake2024-07-071-14/+7
* fixes #22790; use cast suppress AnyEnumConv warnings for enums withou… (#22...ringabout2023-10-111-0/+1
* clean up SOME pending/xxx/issue link comments (#21826)metagn2023-05-111-2/+2
* stdlib tests now check refc too (#21664)ringabout2023-04-213-3/+3
* fix #12122 (#21096)Bung2022-12-161-1/+1
* fixes #20958; fixes the return type of slice function [backport] (#20959)ringabout2022-11-291-0/+12
* fixes #13781; fixes #14901; add acyclic pragmas to FlowVar (#20804)ringabout2022-11-101-1/+10
* defaults to ORC (#19972)ringabout2022-09-2314-5/+17
* add colon (#17834)flywind2021-04-241-1/+1
* fix #7535(Poor error message for spawn when a procedure (without calling it))...flywind2021-04-211-0/+11
* close #9691 and close #10913('spawn'ed function cannot have a 'typed' or 'unt...flywind2021-04-202-0/+29
* close #17636 (#17643)flywind2021-04-061-4/+3
* IC: green tests (#17311)Andreas Rumpf2021-03-191-2/+0
* workaround #15725 disable freebsd tblocking_channel.nim (#15726)Timothee Cour2020-10-261-0/+2
* #12103 - CI for OpenBSD (#12105)Euan2020-04-212-0/+2
* Fixes #14014 (#14029)cooldome2020-04-201-1/+34
* faster CIs (#13803)Miran2020-03-309-87/+111
* new feature: --staticBoundChecks:on to enforce static array index checking (#...Andreas Rumpf2020-03-182-2/+3
* remove deprecated procs (#12535)Andreas Rumpf2019-11-053-60/+4
* hashes: implement murmur3 (#12022)Miran2019-09-011-3/+4
* fixes #11832 (#12049)Palash Nigam2019-08-261-2/+2
* make tests greennarimiran2019-05-281-1/+1
* tsendtwice test: make it arch-independentnarimiran2019-05-271-13/+13
* fixes #11275 (#11276)Ștefan Talpalaru2019-05-201-0/+2
* make tests green againAndreas Rumpf2019-03-071-1/+1
* remove `tdont_be_stupid`, fixes #10386narimiran2019-01-231-23/+0
* fix twrong_refcounts in nim cpp mode (#10313)Timothee Cour2019-01-151-0/+3
* lots of small changesArne Döring2018-12-116-6/+6
* require errormsg to be specified before file.Arne Döring2018-12-112-2/+2
* eyewashArne Döring2018-11-231-5/+5
* updated tests to be executedArne Döring2018-11-232-7/+8
* make run the default action of a test in testerArne Döring2018-11-236-0/+51
* make some tests faster (#9413)Miran2018-10-172-12/+8
* make tests green againAndreas Rumpf2018-08-181-6/+6
* renames threadpool.await to blockUntil; refs #7853Araq2018-08-141-2/+2
* deprecated regionized pointersAraq2018-08-101-2/+2
* .experimental can now be used to enable specific featuresAndreas Rumpf2018-04-241-1/+1
* fixes #7638; awaitAny blocks if the flow vars all have been complete alreadyAndreas Rumpf2018-04-191-0/+35
* GC test workaround: use a lock for 'echo' for WindowsAraq2017-12-071-3/+10
* Channels can now block depending on maxItems (#6153)Yuriy Glukhov2017-07-311-0/+37
* Remove expr/stmt (#5857)Arne Döring2017-07-254-5/+5
* Make tgc_unsafe2 green againZahary Karadjov2017-03-241-3/+3
* fixes #4776Andreas Rumpf2016-09-241-0/+71
* moved random procs from math to its own module (breaking change)Andreas Rumpf2016-05-301-1/+1
* Consistently use Channel instead of TChanneldef2016-02-253-3/+3
* Fix a few deprecation warningsdef2016-01-251-1/+1
* disjoint checker is smarter (and slower)Araq2015-09-231-0/+28
* tests: Trim .nim files trailing whitespaceAdam Strzelecki2015-09-042-3/+3
* 'parallel' now requires --experimental modeAraq2015-08-141-0/+1
* better test programAraq2015-06-141-4/+49
> "struct" proc ptrType(t: Snippet): Snippet = t & "*" template addStruct(obj: var Builder; m: BModule; typ: PType; name: string; baseType: string; body: typed) = if tfPacked in typ.flags: if hasAttribute in CC[m.config.cCompiler].props: obj.add(structOrUnion(typ)) obj.add(" __attribute__((__packed__))") else: obj.add("#pragma pack(push, 1)\n") obj.add(structOrUnion(typ)) else: obj.add(structOrUnion(typ)) obj.add(" ") obj.add(name) type BaseClassKind = enum bcNone, bcCppInherit, bcSupField, bcNoneRtti, bcNoneTinyRtti var baseKind = bcNone if typ.kind == tyObject: if typ.baseClass == nil: if lacksMTypeField(typ): baseKind = bcNone elif optTinyRtti in m.config.globalOptions: baseKind = bcNoneTinyRtti else: baseKind = bcNoneRtti elif m.compileToCpp: baseKind = bcCppInherit else: baseKind = bcSupField if baseKind == bcCppInherit: obj.add(" : public ") obj.add(baseType) obj.add(" ") obj.add("{\n") let currLen = obj.len case baseKind of bcNone: # rest of the options add a field or don't need it due to inheritance, # we need to add the dummy field for uncheckedarray ahead of time # so that it remains trailing if typ.itemId notin m.g.graph.memberProcsPerType and typ.n != nil and typ.n.len == 1 and typ.n[0].kind == nkSym and typ.n[0].sym.typ.skipTypes(abstractInst).kind == tyUncheckedArray: # only consists of flexible array field, add *initial* dummy field obj.addField(name = "dummy", typ = "char") of bcCppInherit: discard of bcNoneRtti: obj.addField(name = "m_type", typ = ptrType(cgsymValue(m, "TNimType"))) of bcNoneTinyRtti: obj.addField(name = "m_type", typ = ptrType(cgsymValue(m, "TNimTypeV2"))) of bcSupField: obj.addField(name = "Sup", typ = baseType) body if baseKind == bcNone and currLen == obj.len and typ.itemId notin m.g.graph.memberProcsPerType: # no fields were added, add dummy field obj.addField(name = "dummy", typ = "char") obj.add("};\n") if tfPacked in typ.flags and hasAttribute notin CC[m.config.cCompiler].props: result.add("#pragma pack(pop)\n") template addFieldWithStructType(obj: var Builder; m: BModule; parentTyp: PType; fieldName: string, body: typed) = ## adds a field with a `struct { ... }` type, building it according to `body` obj.add('\t') if tfPacked in parentTyp.flags: if hasAttribute in CC[m.config.cCompiler].props: obj.add("struct __attribute__((__packed__)) {\n") else: obj.add("#pragma pack(push, 1)\nstruct {") else: obj.add("struct {\n") body obj.add("} ") obj.add(fieldName) obj.add(";\n") if tfPacked in parentTyp.flags and hasAttribute notin CC[m.config.cCompiler].props: result.add("#pragma pack(pop)\n") template addAnonUnion(obj: var Builder; body: typed) = obj.add "union{\n" body obj.add("};\n")